home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_18_QH RenderTopic.txt < prev    next >
Text File  |  1995-09-30  |  295KB  |  5,344 lines

  1. # near model CODE resource
  2. # jump table entries: 63208-63210 (3 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  F6E8                     .extension 0x6E8 // unimplemented
  5. 00000004  0000 399E                ori.b      D0, 0x9E
  6. 00000008  48E7 1030                movem.l    -[A7], D3,A2,A3
  7. 0000000C  4FEF FE84                lea.l      A7, [A7 - 0x17C]
  8. 00000010  266F 018C                movea.l    A3, [A7 + 0x18C]
  9. 00000014  262F 0196                move.l     D3, [A7 + 0x196]
  10. 00000018  246F 01A2                movea.l    A2, [A7 + 0x1A2]
  11. 0000001C  41ED AB52                lea.l      A0, [A5 - 0x54AE]
  12. 00000020  43EF 000E                lea.l      A1, [A7 + 0xE]
  13. 00000024  705A                     moveq.l    D0, 0x5A
  14. label00000026:
  15. 00000026  22D8                     move.l     [A1]+, [A0]+
  16. 00000028  51C8 FFFC                dbf        D0, -0x6 /* 00000026 */
  17. 0000002C  32D8                     move.w     [A1]+, [A0]+
  18. 0000002E  41ED AB44                lea.l      A0, [A5 - 0x54BC]
  19. 00000032  43D7                     lea.l      A1, [A7]
  20. 00000034  22D8                     move.l     [A1]+, [A0]+
  21. 00000036  22D8                     move.l     [A1]+, [A0]+
  22. 00000038  22D8                     move.l     [A1]+, [A0]+
  23. 0000003A  32D8                     move.w     [A1]+, [A0]+
  24. 0000003C  3F3C 0004                move.w     -[A7], 0x4
  25. 00000040  4EAD DDA0                jsr        [A5 - 0x2260]
  26. 00000044  42AF 016A                clr.l      [A7 + 0x16A]
  27. 00000048  2F4A 0152                move.l     [A7 + 0x152], A2
  28. 0000004C  2F4B 0156                move.l     [A7 + 0x156], A3
  29. 00000050  2F43 015A                move.l     [A7 + 0x15A], D3
  30. 00000054  2F6F 019A 015E           move.l     [A7 + 0x15E], [A7 + 0x19A]
  31. 0000005A  3F6F 0190 016E           move.w     [A7 + 0x16E], [A7 + 0x190]
  32. 00000060  302F 019E                move.w     D0, [A7 + 0x19E]
  33. 00000064  48C0                     ext.l      D0
  34. 00000066  5580                     subq.l     D0, 2
  35. 00000068  3F40 0176                move.w     [A7 + 0x176], D0
  36. 0000006C  1F6F 01A0 017A           move.b     [A7 + 0x17A], [A7 + 0x1A0]
  37. 00000072  426F 0178                clr.w      [A7 + 0x178]
  38. 00000076  2F0B                     move.l     -[A7], A3
  39. 00000078  4EAD DD40                jsr        [A5 - 0x22C0]
  40. 0000007C  4EAD DD70                jsr        [A5 - 0x2290]
  41. 00000080  4EAD DD60                jsr        [A5 - 0x22A0]
  42. 00000084  42A7                     clr.l      -[A7]
  43. 00000086  4EAD DD50                jsr        [A5 - 0x22B0]
  44. 0000008A  2F2F 019A                move.l     -[A7], [A7 + 0x19A]
  45. 0000008E  486F 000C                pea.l      [A7 + 0xC]
  46. 00000092  486F 001E                pea.l      [A7 + 0x1E]
  47. 00000096  4EBA 003E                jsr        [PC + 0x3E /* 000000D6 */]
  48. 0000009A  4A6F 018C                tst.w      [A7 + 0x18C]
  49. 0000009E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  50. 000000A2  660C                     bne        +0xE /* 000000B0 */
  51. 000000A4  4857                     pea.l      [A7]
  52. 000000A6  486F 0012                pea.l      [A7 + 0x12]
  53. 000000AA  4EBA 01B4                jsr        [PC + 0x1B4 /* 00000260 */]
  54. 000000AE  504F                     addq.w     A7, 8
  55. label000000B0:
  56. 000000B0  486F 000E                pea.l      [A7 + 0xE]
  57. 000000B4  4EBA 0282                jsr        [PC + 0x282 /* 00000338 */]
  58. 000000B8  4EAD DD78                jsr        [A5 - 0x2288]
  59. 000000BC  4EAD DD68                jsr        [A5 - 0x2298]
  60. 000000C0  4EAD DD58                jsr        [A5 - 0x22A8]
  61. 000000C4  4EAD DD48                jsr        [A5 - 0x22B8]
  62. 000000C8  302F 017C                move.w     D0, [A7 + 0x17C]
  63. 000000CC  4FEF 0180                lea.l      A7, [A7 + 0x180]
  64. 000000D0  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  65. 000000D4  4E75                     rts
  66. fn000000D6:
  67. 000000D6  2F0A                     move.l     -[A7], A2
  68. 000000D8  514F                     subq.w     A7, 8
  69. 000000DA  246F 0010                movea.l    A2, [A7 + 0x10]
  70. 000000DE  206F 0014                movea.l    A0, [A7 + 0x14]
  71. 000000E2  7001                     moveq.l    D0, 0x01
  72. 000000E4  2080                     move.l     [A0], D0
  73. 000000E6  42AA 0154                clr.l      [A2 + 0x154]
  74. 000000EA  4EAD DB08                jsr        [A5 - 0x24F8]
  75. 000000EE  3540 0162                move.w     [A2 + 0x162], D0
  76. 000000F2  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  77. 000000F6  4EBA 380E                jsr        [PC + 0x380E /* 00003906 */]
  78. 000000FA  4AAD ACC0                tst.l      [A5 - 0x5340]
  79. 000000FE  584F                     addq.w     A7, 4
  80. 00000100  6618                     bne        +0x1A /* 0000011A */
  81. 00000102  554F                     subq.w     A7, 2
  82. 00000104  3EB8 0BAC                move.w     [A7], [0x00000BAC /* TESysJust */]
  83. 00000108  301F                     move.w     D0, [A7]+
  84. 0000010A  6604                     bne        +0x6 /* 00000110 */
  85. 0000010C  7001                     moveq.l    D0, 0x01
  86. 0000010E  6002                     bra        +0x4 /* 00000112 */
  87. label00000110:
  88. 00000110  7002                     moveq.l    D0, 0x02
  89. label00000112:
  90. 00000112  7200                     moveq.l    D1, 0x00
  91. 00000114  1200                     move.b     D1, D0
  92. 00000116  2B41 ACC0                move.l     [A5 - 0x5340], D1
  93. label0000011A:
  94. 0000011A  356A 0168 0166           move.w     [A2 + 0x166], [A2 + 0x168]
  95. 00000120  206A 0144                movea.l    A0, [A2 + 0x144]
  96. 00000124  4AA8 001C                tst.l      [A0 + 0x1C]
  97. 00000128  6706                     beq        +0x8 /* 00000130 */
  98. 0000012A  046A 000F 0168           subi.w     [A2 + 0x168], 0xF
  99. label00000130:
  100. 00000130  3F2A 0160                move.w     -[A7], [A2 + 0x160]
  101. 00000134  4EAD DB0E                jsr        [A5 - 0x24F2]
  102. 00000138  426F 0002                clr.w      [A7 + 0x2]
  103. 0000013C  426F 0004                clr.w      [A7 + 0x4]
  104. 00000140  3F7C 2710 0008           move.w     [A7 + 0x8], 0x2710
  105. 00000146  3F7C 2710 0006           move.w     [A7 + 0x6], 0x2710
  106. 0000014C  486F 0002                pea.l      [A7 + 0x2]
  107. 00000150  A87B                     syscall    ClipRect
  108. 00000152  4878 0114                push.l     0x114
  109. 00000156  42A7                     clr.l      -[A7]
  110. 00000158  486A 0030                pea.l      [A2 + 0x30]
  111. 0000015C  4EAD D94C                jsr        [A5 - 0x26B4]
  112. 00000160  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  113. 00000164  2F2A 015C                move.l     -[A7], [A2 + 0x15C]
  114. 00000168  486A 0030                pea.l      [A2 + 0x30]
  115. 0000016C  2F0A                     move.l     -[A7], A2
  116. 0000016E  2F2A 014C                move.l     -[A7], [A2 + 0x14C]
  117. 00000172  4EBA 0400                jsr        [PC + 0x400 /* 00000574 */]
  118. 00000176  3540 016A                move.w     [A2 + 0x16A], D0
  119. 0000017A  4A6A 016A                tst.w      [A2 + 0x16A]
  120. 0000017E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  121. 00000182  6646                     bne        +0x48 /* 000001CA */
  122. 00000184  256A 0148 00C4           move.l     [A2 + 0xC4], [A2 + 0x148]
  123. 0000018A  356A 0160 0142           move.w     [A2 + 0x142], [A2 + 0x160]
  124. 00000190  256A 0150 0128           move.l     [A2 + 0x128], [A2 + 0x150]
  125. 00000196  256A 014C 0100           move.l     [A2 + 0x100], [A2 + 0x14C]
  126. 0000019C  3F2A 0160                move.w     -[A7], [A2 + 0x160]
  127. 000001A0  4EAD E198                jsr        [A5 - 0x1E68]
  128. 000001A4  2540 0130                move.l     [A2 + 0x130], D0
  129. 000001A8  4AAF 001A                tst.l      [A7 + 0x1A]
  130. 000001AC  544F                     addq.w     A7, 2
  131. 000001AE  6712                     beq        +0x14 /* 000001C2 */
  132. 000001B0  206F 0018                movea.l    A0, [A7 + 0x18]
  133. 000001B4  43EA 0030                lea.l      A1, [A2 + 0x30]
  134. 000001B8  7010                     moveq.l    D0, 0x10
  135. label000001BA:
  136. 000001BA  22D8                     move.l     [A1]+, [A0]+
  137. 000001BC  51C8 FFFC                dbf        D0, -0x6 /* 000001BA */
  138. 000001C0  32D8                     move.w     [A1]+, [A0]+
  139. label000001C2:
  140. 000001C2  2F0A                     move.l     -[A7], A2
  141. 000001C4  4EBA 000A                jsr        [PC + 0xA /* 000001D0 */]
  142. 000001C8  584F                     addq.w     A7, 4
  143. label000001CA:
  144. 000001CA  504F                     addq.w     A7, 8
  145. 000001CC  245F                     movea.l    A2, [A7]+
  146. 000001CE  4E75                     rts
  147. fn000001D0:
  148. 000001D0  2F0A                     move.l     -[A7], A2
  149. 000001D2  514F                     subq.w     A7, 8
  150. 000001D4  246F 0010                movea.l    A2, [A7 + 0x10]
  151. 000001D8  42AD ACF2                clr.l      [A5 - 0x530E]
  152. 000001DC  42AD ACEA                clr.l      [A5 - 0x5316]
  153. 000001E0  42AA 0134                clr.l      [A2 + 0x134]
  154. 000001E4  206A 0144                movea.l    A0, [A2 + 0x144]
  155. 000001E8  7001                     moveq.l    D0, 0x01
  156. 000001EA  2140 0014                move.l     [A0 + 0x14], D0
  157. 000001EE  486A 0030                pea.l      [A2 + 0x30]
  158. 000001F2  2F0A                     move.l     -[A7], A2
  159. 000001F4  4EBA 03AA                jsr        [PC + 0x3AA /* 000005A0 */]
  160. 000001F8  594F                     subq.w     A7, 4
  161. 000001FA  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  162. 000001FE  4EAD D9AC                jsr        [A5 - 0x2654]
  163. 00000202  201F                     move.l     D0, [A7]+
  164. 00000204  2F00                     move.l     -[A7], D0
  165. 00000206  4EAD DA90                jsr        [A5 - 0x2570]
  166. 0000020A  426F 000C                clr.w      [A7 + 0xC]
  167. 0000020E  426F 000E                clr.w      [A7 + 0xE]
  168. 00000212  3F7C 2710 0012           move.w     [A7 + 0x12], 0x2710
  169. 00000218  3F7C 2710 0010           move.w     [A7 + 0x10], 0x2710
  170. 0000021E  486F 000C                pea.l      [A7 + 0xC]
  171. 00000222  4EAD DA96                jsr        [A5 - 0x256A]
  172. 00000226  226A 0144                movea.l    A1, [A2 + 0x144]
  173. 0000022A  2348 0004                move.l     [A1 + 0x4], A0
  174. 0000022E  2008                     move.l     D0, A0
  175. 00000230  4FEF 0010                lea.l      A7, [A7 + 0x10]
  176. 00000234  6612                     bne        +0x14 /* 00000248 */
  177. 00000236  554F                     subq.w     A7, 2
  178. 00000238  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  179. 0000023C  301F                     move.w     D0, [A7]+
  180. 0000023E  3540 016A                move.w     [A2 + 0x16A], D0
  181. 00000242  504F                     addq.w     A7, 8
  182. 00000244  245F                     movea.l    A2, [A7]+
  183. 00000246  4E75                     rts
  184. label00000248:
  185. 00000248  202A 014C                move.l     D0, [A2 + 0x14C]
  186. 0000024C  5280                     addq.l     D0, 1
  187. 0000024E  2F00                     move.l     -[A7], D0
  188. 00000250  3F2A 0160                move.w     -[A7], [A2 + 0x160]
  189. 00000254  4EAD DAC0                jsr        [A5 - 0x2540]
  190. 00000258  4FEF 000E                lea.l      A7, [A7 + 0xE]
  191. 0000025C  245F                     movea.l    A2, [A7]+
  192. 0000025E  4E75                     rts
  193. fn00000260:
  194. 00000260  48E7 0030                movem.l    -[A7], A2,A3
  195. 00000264  246F 000C                movea.l    A2, [A7 + 0xC]
  196. 00000268  266F 0010                movea.l    A3, [A7 + 0x10]
  197. label0000026C:
  198. 0000026C  42AA 0158                clr.l      [A2 + 0x158]
  199. 00000270  486A 0164                pea.l      [A2 + 0x164]
  200. 00000274  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  201. 00000278  1F2A 016C                move.b     -[A7], [A2 + 0x16C]
  202. 0000027C  486A 0168                pea.l      [A2 + 0x168]
  203. 00000280  486A 0030                pea.l      [A2 + 0x30]
  204. 00000284  3F2A 0160                move.w     -[A7], [A2 + 0x160]
  205. 00000288  2F0B                     move.l     -[A7], A3
  206. 0000028A  4EBA 05F2                jsr        [PC + 0x5F2 /* 0000087E */]
  207. 0000028E  3540 016A                move.w     [A2 + 0x16A], D0
  208. 00000292  206A 0144                movea.l    A0, [A2 + 0x144]
  209. 00000296  4AA8 001C                tst.l      [A0 + 0x1C]
  210. 0000029A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  211. 0000029E  6766                     beq        +0x68 /* 00000306 */
  212. 000002A0  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  213. 000002A4  3F2A 0164                move.w     -[A7], [A2 + 0x164]
  214. 000002A8  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  215. 000002AC  486A 0030                pea.l      [A2 + 0x30]
  216. 000002B0  4EBA 35C2                jsr        [PC + 0x35C2 /* 00003874 */]
  217. 000002B4  4A80                     tst.l      D0
  218. 000002B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  219. 000002BA  664A                     bne        +0x4C /* 00000306 */
  220. 000002BC  7001                     moveq.l    D0, 0x01
  221. 000002BE  2540 0158                move.l     [A2 + 0x158], D0
  222. 000002C2  7001                     moveq.l    D0, 0x01
  223. 000002C4  2680                     move.l     [A3], D0
  224. 000002C6  356A 0166 0168           move.w     [A2 + 0x168], [A2 + 0x166]
  225. 000002CC  206A 0144                movea.l    A0, [A2 + 0x144]
  226. 000002D0  42A8 001C                clr.l      [A0 + 0x1C]
  227. 000002D4  4EAD DA9C                jsr        [A5 - 0x2564]
  228. 000002D8  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  229. 000002DC  4EBA 35E8                jsr        [PC + 0x35E8 /* 000038C6 */]
  230. 000002E0  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  231. 000002E4  4EBA 3620                jsr        [PC + 0x3620 /* 00003906 */]
  232. 000002E8  2F2A 0150                move.l     -[A7], [A2 + 0x150]
  233. 000002EC  2F2A 0148                move.l     -[A7], [A2 + 0x148]
  234. 000002F0  4EAD E398                jsr        [A5 - 0x1C68]
  235. 000002F4  2F0A                     move.l     -[A7], A2
  236. 000002F6  4EBA FED8                jsr        [PC - 0x128 /* 000001D0 */]
  237. 000002FA  4A6A 016A                tst.w      [A2 + 0x16A]
  238. 000002FE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  239. 00000302  6726                     beq        +0x28 /* 0000032A */
  240. 00000304  602C                     bra        +0x2E /* 00000332 */
  241. label00000306:
  242. 00000306  256A 0108 0154           move.l     [A2 + 0x154], [A2 + 0x108]
  243. 0000030C  206A 0144                movea.l    A0, [A2 + 0x144]
  244. 00000310  4AA8 0008                tst.l      [A0 + 0x8]
  245. 00000314  6714                     beq        +0x16 /* 0000032A */
  246. 00000316  202A 0154                move.l     D0, [A2 + 0x154]
  247. 0000031A  7224                     moveq.l    D1, 0x24
  248. 0000031C  4EAD D8F8                jsr        [A5 - 0x2708]
  249. 00000320  206A 0144                movea.l    A0, [A2 + 0x144]
  250. 00000324  2068 0008                movea.l    A0, [A0 + 0x8]
  251. 00000328  A024                     syscall    SetHandleSize
  252. label0000032A:
  253. 0000032A  4AAA 0158                tst.l      [A2 + 0x158]
  254. 0000032E  6600 FF3C                bne        -0xC2 /* 0000026C */
  255. label00000332:
  256. 00000332  4CDF 0C00                movem.l    A2,A3, [A7]+
  257. 00000336  4E75                     rts
  258. fn00000338:
  259. 00000338  48E7 0030                movem.l    -[A7], A2,A3
  260. 0000033C  266F 000C                movea.l    A3, [A7 + 0xC]
  261. 00000340  4EBA 349C                jsr        [PC + 0x349C /* 000037DE */]
  262. 00000344  206B 0144                movea.l    A0, [A3 + 0x144]
  263. 00000348  4AA8 0004                tst.l      [A0 + 0x4]
  264. 0000034C  6736                     beq        +0x38 /* 00000384 */
  265. 0000034E  4EAD DA9C                jsr        [A5 - 0x2564]
  266. 00000352  246B 0144                movea.l    A2, [A3 + 0x144]
  267. 00000356  246A 0004                movea.l    A2, [A2 + 0x4]
  268. 0000035A  2452                     movea.l    A2, [A2]
  269. 0000035C  548A                     addq.l     A2, 2
  270. 0000035E  356B 0164 0004           move.w     [A2 + 0x4], [A3 + 0x164]
  271. 00000364  302B 0168                move.w     D0, [A3 + 0x168]
  272. 00000368  48C0                     ext.l      D0
  273. 0000036A  322A 0002                move.w     D1, [A2 + 0x2]
  274. 0000036E  48C1                     ext.l      D1
  275. 00000370  D280                     add.l      D1, D0
  276. 00000372  3541 0006                move.w     [A2 + 0x6], D1
  277. 00000376  2F2B 0150                move.l     -[A7], [A3 + 0x150]
  278. 0000037A  2F2B 0148                move.l     -[A7], [A3 + 0x148]
  279. 0000037E  4EAD E398                jsr        [A5 - 0x1C68]
  280. 00000382  504F                     addq.w     A7, 8
  281. label00000384:
  282. 00000384  4A6B 016A                tst.w      [A3 + 0x16A]
  283. 00000388  670A                     beq        +0xC /* 00000394 */
  284. 0000038A  2F2B 0144                move.l     -[A7], [A3 + 0x144]
  285. 0000038E  4EBA 3536                jsr        [PC + 0x3536 /* 000038C6 */]
  286. 00000392  584F                     addq.w     A7, 4
  287. label00000394:
  288. 00000394  2F0B                     move.l     -[A7], A3
  289. 00000396  4EBA 0306                jsr        [PC + 0x306 /* 0000069E */]
  290. 0000039A  3F2B 0162                move.w     -[A7], [A3 + 0x162]
  291. 0000039E  4EAD DB0E                jsr        [A5 - 0x24F2]
  292. 000003A2  5C4F                     addq.w     A7, 6
  293. 000003A4  4CDF 0C00                movem.l    A2,A3, [A7]+
  294. 000003A8  4E75                     rts
  295. fn000003AA:
  296. 000003AA  48E7 1820                movem.l    -[A7], D3,D4,A2
  297. 000003AE  282F 0010                move.l     D4, [A7 + 0x10]
  298. 000003B2  246F 0014                movea.l    A2, [A7 + 0x14]
  299. 000003B6  4878 0030                push.l     0x30 /* '0' */
  300. 000003BA  42A7                     clr.l      -[A7]
  301. 000003BC  2F0A                     move.l     -[A7], A2
  302. 000003BE  4EAD D94C                jsr        [A5 - 0x26B4]
  303. 000003C2  2004                     move.l     D0, D4
  304. 000003C4  5280                     addq.l     D0, 1
  305. 000003C6  2F00                     move.l     -[A7], D0
  306. 000003C8  4878 0020                push.l     0x20 /* ' ' */
  307. 000003CC  4EAD DC58                jsr        [A5 - 0x23A8]
  308. 000003D0  2488                     move.l     [A2], A0
  309. 000003D2  4EAD DB02                jsr        [A5 - 0x24FE]
  310. 000003D6  3600                     move.w     D3, D0
  311. 000003D8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  312. 000003DC  6600 018E                bne        +0x190 /* 0000056C */
  313. 000003E0  2052                     movea.l    A0, [A2]
  314. 000003E2  A064                     syscall    MoveHHi
  315. 000003E4  A029                     syscall    HLock
  316. 000003E6  4878 0001                push.l     0x1
  317. 000003EA  4878 002B                push.l     0x2B /* '+' */
  318. 000003EE  4EAD DC58                jsr        [A5 - 0x23A8]
  319. 000003F2  2548 0004                move.l     [A2 + 0x4], A0
  320. 000003F6  4EAD DB02                jsr        [A5 - 0x24FE]
  321. 000003FA  3600                     move.w     D3, D0
  322. 000003FC  504F                     addq.w     A7, 8
  323. 000003FE  6600 016C                bne        +0x16E /* 0000056C */
  324. 00000402  206A 0004                movea.l    A0, [A2 + 0x4]
  325. 00000406  A064                     syscall    MoveHHi
  326. 00000408  A029                     syscall    HLock
  327. 0000040A  4878 0001                push.l     0x1
  328. 0000040E  4878 002A                push.l     0x2A /* '*' */
  329. 00000412  4EAD DC58                jsr        [A5 - 0x23A8]
  330. 00000416  2548 0008                move.l     [A2 + 0x8], A0
  331. 0000041A  4EAD DB02                jsr        [A5 - 0x24FE]
  332. 0000041E  3600                     move.w     D3, D0
  333. 00000420  504F                     addq.w     A7, 8
  334. 00000422  6600 0148                bne        +0x14A /* 0000056C */
  335. 00000426  206A 0008                movea.l    A0, [A2 + 0x8]
  336. 0000042A  A064                     syscall    MoveHHi
  337. 0000042C  A029                     syscall    HLock
  338. 0000042E  4878 0001                push.l     0x1
  339. 00000432  4878 002C                push.l     0x2C /* ',' */
  340. 00000436  4EAD DC58                jsr        [A5 - 0x23A8]
  341. 0000043A  2548 000C                move.l     [A2 + 0xC], A0
  342. 0000043E  4EAD DB02                jsr        [A5 - 0x24FE]
  343. 00000442  3600                     move.w     D3, D0
  344. 00000444  504F                     addq.w     A7, 8
  345. 00000446  6600 0124                bne        +0x126 /* 0000056C */
  346. 0000044A  206A 000C                movea.l    A0, [A2 + 0xC]
  347. 0000044E  A064                     syscall    MoveHHi
  348. 00000450  A029                     syscall    HLock
  349. 00000452  4878 0002                push.l     0x2
  350. 00000456  4878 002C                push.l     0x2C /* ',' */
  351. 0000045A  4EAD DC58                jsr        [A5 - 0x23A8]
  352. 0000045E  2548 0010                move.l     [A2 + 0x10], A0
  353. 00000462  4EAD DB02                jsr        [A5 - 0x24FE]
  354. 00000466  3600                     move.w     D3, D0
  355. 00000468  504F                     addq.w     A7, 8
  356. 0000046A  6600 0100                bne        +0x102 /* 0000056C */
  357. 0000046E  206A 0010                movea.l    A0, [A2 + 0x10]
  358. 00000472  A064                     syscall    MoveHHi
  359. 00000474  A029                     syscall    HLock
  360. 00000476  2004                     move.l     D0, D4
  361. 00000478  5280                     addq.l     D0, 1
  362. 0000047A  2F00                     move.l     -[A7], D0
  363. 0000047C  4878 002D                push.l     0x2D /* '-' */
  364. 00000480  4EAD DC58                jsr        [A5 - 0x23A8]
  365. 00000484  2548 0014                move.l     [A2 + 0x14], A0
  366. 00000488  4EAD DB02                jsr        [A5 - 0x24FE]
  367. 0000048C  3600                     move.w     D3, D0
  368. 0000048E  504F                     addq.w     A7, 8
  369. 00000490  6600 00DA                bne        +0xDC /* 0000056C */
  370. 00000494  206A 0014                movea.l    A0, [A2 + 0x14]
  371. 00000498  A064                     syscall    MoveHHi
  372. 0000049A  A029                     syscall    HLock
  373. 0000049C  4878 0001                push.l     0x1
  374. 000004A0  4878 002E                push.l     0x2E /* '.' */
  375. 000004A4  4EAD DC58                jsr        [A5 - 0x23A8]
  376. 000004A8  2548 0018                move.l     [A2 + 0x18], A0
  377. 000004AC  4EAD DB02                jsr        [A5 - 0x24FE]
  378. 000004B0  3600                     move.w     D3, D0
  379. 000004B2  504F                     addq.w     A7, 8
  380. 000004B4  6600 00B6                bne        +0xB8 /* 0000056C */
  381. 000004B8  206A 0018                movea.l    A0, [A2 + 0x18]
  382. 000004BC  A064                     syscall    MoveHHi
  383. 000004BE  A029                     syscall    HLock
  384. 000004C0  4878 0002                push.l     0x2
  385. 000004C4  4878 002E                push.l     0x2E /* '.' */
  386. 000004C8  4EAD DC58                jsr        [A5 - 0x23A8]
  387. 000004CC  2548 001C                move.l     [A2 + 0x1C], A0
  388. 000004D0  4EAD DB02                jsr        [A5 - 0x24FE]
  389. 000004D4  3600                     move.w     D3, D0
  390. 000004D6  504F                     addq.w     A7, 8
  391. 000004D8  6600 0092                bne        +0x94 /* 0000056C */
  392. 000004DC  206A 001C                movea.l    A0, [A2 + 0x1C]
  393. 000004E0  A064                     syscall    MoveHHi
  394. 000004E2  A029                     syscall    HLock
  395. 000004E4  4878 0001                push.l     0x1
  396. 000004E8  4878 002F                push.l     0x2F /* '/' */
  397. 000004EC  4EAD DC58                jsr        [A5 - 0x23A8]
  398. 000004F0  2548 0020                move.l     [A2 + 0x20], A0
  399. 000004F4  4EAD DB02                jsr        [A5 - 0x24FE]
  400. 000004F8  3600                     move.w     D3, D0
  401. 000004FA  504F                     addq.w     A7, 8
  402. 000004FC  666E                     bne        +0x70 /* 0000056C */
  403. 000004FE  206A 0020                movea.l    A0, [A2 + 0x20]
  404. 00000502  A064                     syscall    MoveHHi
  405. 00000504  A029                     syscall    HLock
  406. 00000506  4878 0002                push.l     0x2
  407. 0000050A  4878 002F                push.l     0x2F /* '/' */
  408. 0000050E  4EAD DC58                jsr        [A5 - 0x23A8]
  409. 00000512  2548 0024                move.l     [A2 + 0x24], A0
  410. 00000516  4EAD DB02                jsr        [A5 - 0x24FE]
  411. 0000051A  3600                     move.w     D3, D0
  412. 0000051C  504F                     addq.w     A7, 8
  413. 0000051E  664C                     bne        +0x4E /* 0000056C */
  414. 00000520  206A 0024                movea.l    A0, [A2 + 0x24]
  415. 00000524  A064                     syscall    MoveHHi
  416. 00000526  A029                     syscall    HLock
  417. 00000528  4878 0001                push.l     0x1
  418. 0000052C  4878 0034                push.l     0x34 /* '4' */
  419. 00000530  4EAD DC58                jsr        [A5 - 0x23A8]
  420. 00000534  2548 0028                move.l     [A2 + 0x28], A0
  421. 00000538  4EAD DB02                jsr        [A5 - 0x24FE]
  422. 0000053C  3600                     move.w     D3, D0
  423. 0000053E  504F                     addq.w     A7, 8
  424. 00000540  662A                     bne        +0x2C /* 0000056C */
  425. 00000542  206A 0028                movea.l    A0, [A2 + 0x28]
  426. 00000546  A064                     syscall    MoveHHi
  427. 00000548  A029                     syscall    HLock
  428. 0000054A  4878 0001                push.l     0x1
  429. 0000054E  4878 0035                push.l     0x35 /* '5' */
  430. 00000552  4EAD DC58                jsr        [A5 - 0x23A8]
  431. 00000556  2548 002C                move.l     [A2 + 0x2C], A0
  432. 0000055A  4EAD DB02                jsr        [A5 - 0x24FE]
  433. 0000055E  3600                     move.w     D3, D0
  434. 00000560  504F                     addq.w     A7, 8
  435. 00000562  6608                     bne        +0xA /* 0000056C */
  436. 00000564  206A 002C                movea.l    A0, [A2 + 0x2C]
  437. 00000568  A064                     syscall    MoveHHi
  438. 0000056A  A029                     syscall    HLock
  439. label0000056C:
  440. 0000056C  3003                     move.w     D0, D3
  441. 0000056E  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  442. 00000572  4E75                     rts
  443. fn00000574:
  444. 00000574  2F03                     move.l     -[A7], D3
  445. 00000576  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  446. 0000057A  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  447. 0000057E  4EBA FE2A                jsr        [PC - 0x1D6 /* 000003AA */]
  448. 00000582  3600                     move.w     D3, D0
  449. 00000584  504F                     addq.w     A7, 8
  450. 00000586  6706                     beq        +0x8 /* 0000058E */
  451. 00000588  3003                     move.w     D0, D3
  452. 0000058A  261F                     move.l     D3, [A7]+
  453. 0000058C  4E75                     rts
  454. label0000058E:
  455. 0000058E  206F 0010                movea.l    A0, [A7 + 0x10]
  456. 00000592  42A8 00D8                clr.l      [A0 + 0xD8]
  457. 00000596  42A8 00DC                clr.l      [A0 + 0xDC]
  458. 0000059A  7000                     moveq.l    D0, 0x00
  459. 0000059C  261F                     move.l     D3, [A7]+
  460. 0000059E  4E75                     rts
  461. fn000005A0:
  462. 000005A0  48E7 0030                movem.l    -[A7], A2,A3
  463. 000005A4  594F                     subq.w     A7, 4
  464. 000005A6  266F 0010                movea.l    A3, [A7 + 0x10]
  465. 000005AA  246F 0014                movea.l    A2, [A7 + 0x14]
  466. 000005AE  2053                     movea.l    A0, [A3]
  467. 000005B0  2550 0098                move.l     [A2 + 0x98], [A0]
  468. 000005B4  594F                     subq.w     A7, 4
  469. 000005B6  2F13                     move.l     -[A7], [A3]
  470. 000005B8  4EAD D9AC                jsr        [A5 - 0x2654]
  471. 000005BC  201F                     move.l     D0, [A7]+
  472. 000005BE  206A 0098                movea.l    A0, [A2 + 0x98]
  473. 000005C2  D1C0                     add.l      A0, D0
  474. 000005C4  2548 009C                move.l     [A2 + 0x9C], A0
  475. 000005C8  206B 0004                movea.l    A0, [A3 + 0x4]
  476. 000005CC  2550 00A0                move.l     [A2 + 0xA0], [A0]
  477. 000005D0  206B 0008                movea.l    A0, [A3 + 0x8]
  478. 000005D4  2550 00A4                move.l     [A2 + 0xA4], [A0]
  479. 000005D8  206B 000C                movea.l    A0, [A3 + 0xC]
  480. 000005DC  2550 00A8                move.l     [A2 + 0xA8], [A0]
  481. 000005E0  594F                     subq.w     A7, 4
  482. 000005E2  2F2B 0010                move.l     -[A7], [A3 + 0x10]
  483. 000005E6  4EAD D9AC                jsr        [A5 - 0x2654]
  484. 000005EA  201F                     move.l     D0, [A7]+
  485. 000005EC  6604                     bne        +0x6 /* 000005F2 */
  486. 000005EE  91C8                     sub.l      A0, A0
  487. 000005F0  6008                     bra        +0xA /* 000005FA */
  488. label000005F2:
  489. 000005F2  206B 0010                movea.l    A0, [A3 + 0x10]
  490. 000005F6  2E90                     move.l     [A7], [A0]
  491. 000005F8  2057                     movea.l    A0, [A7]
  492. label000005FA:
  493. 000005FA  2548 00AC                move.l     [A2 + 0xAC], A0
  494. 000005FE  206B 0014                movea.l    A0, [A3 + 0x14]
  495. 00000602  2550 00B0                move.l     [A2 + 0xB0], [A0]
  496. 00000606  206B 0018                movea.l    A0, [A3 + 0x18]
  497. 0000060A  2550 00B4                move.l     [A2 + 0xB4], [A0]
  498. 0000060E  206B 001C                movea.l    A0, [A3 + 0x1C]
  499. 00000612  2550 00B8                move.l     [A2 + 0xB8], [A0]
  500. 00000616  206B 0020                movea.l    A0, [A3 + 0x20]
  501. 0000061A  2550 00BC                move.l     [A2 + 0xBC], [A0]
  502. 0000061E  206B 0024                movea.l    A0, [A3 + 0x24]
  503. 00000622  2550 00C0                move.l     [A2 + 0xC0], [A0]
  504. 00000626  206B 0028                movea.l    A0, [A3 + 0x28]
  505. 0000062A  2550 00C4                move.l     [A2 + 0xC4], [A0]
  506. 0000062E  206B 002C                movea.l    A0, [A3 + 0x2C]
  507. 00000632  2550 00C8                move.l     [A2 + 0xC8], [A0]
  508. 00000636  357C 0010 0108           move.w     [A2 + 0x108], 0x10
  509. 0000063C  42AA 00D4                clr.l      [A2 + 0xD4]
  510. 00000640  426A 0110                clr.w      [A2 + 0x110]
  511. 00000644  426A 010E                clr.w      [A2 + 0x10E]
  512. 00000648  426A 010C                clr.w      [A2 + 0x10C]
  513. 0000064C  426A 010A                clr.w      [A2 + 0x10A]
  514. 00000650  7001                     moveq.l    D0, 0x01
  515. 00000652  2540 00E0                move.l     [A2 + 0xE0], D0
  516. 00000656  42AA 00E4                clr.l      [A2 + 0xE4]
  517. 0000065A  42AA 0052                clr.l      [A2 + 0x52]
  518. 0000065E  42AA 0056                clr.l      [A2 + 0x56]
  519. 00000662  42AA 00E8                clr.l      [A2 + 0xE8]
  520. 00000666  42AA 00F4                clr.l      [A2 + 0xF4]
  521. 0000066A  42AA 00EC                clr.l      [A2 + 0xEC]
  522. 0000066E  7001                     moveq.l    D0, 0x01
  523. 00000670  2540 00F0                move.l     [A2 + 0xF0], D0
  524. 00000674  42AA 0086                clr.l      [A2 + 0x86]
  525. 00000678  42AA 00FC                clr.l      [A2 + 0xFC]
  526. 0000067C  41ED CEDA                lea.l      A0, [A5 - 0x3126]
  527. 00000680  2548 00CC                move.l     [A2 + 0xCC], A0
  528. 00000684  42AA 006C                clr.l      [A2 + 0x6C]
  529. 00000688  42AA 007C                clr.l      [A2 + 0x7C]
  530. 0000068C  486A 0046                pea.l      [A2 + 0x46]
  531. 00000690  42A7                     clr.l      -[A7]
  532. 00000692  42A7                     clr.l      -[A7]
  533. 00000694  A8A7                     syscall    SetRect
  534. 00000696  584F                     addq.w     A7, 4
  535. 00000698  4CDF 0C00                movem.l    A2,A3, [A7]+
  536. 0000069C  4E75                     rts
  537. fn0000069E:
  538. 0000069E  2F0A                     move.l     -[A7], A2
  539. 000006A0  246F 0008                movea.l    A2, [A7 + 0x8]
  540. 000006A4  4A92                     tst.l      [A2]
  541. 000006A6  6704                     beq        +0x6 /* 000006AC */
  542. 000006A8  2052                     movea.l    A0, [A2]
  543. 000006AA  A02A                     syscall    HUnlock
  544. label000006AC:
  545. 000006AC  4AAA 0004                tst.l      [A2 + 0x4]
  546. 000006B0  6706                     beq        +0x8 /* 000006B8 */
  547. 000006B2  206A 0004                movea.l    A0, [A2 + 0x4]
  548. 000006B6  A02A                     syscall    HUnlock
  549. label000006B8:
  550. 000006B8  4AAA 0008                tst.l      [A2 + 0x8]
  551. 000006BC  6706                     beq        +0x8 /* 000006C4 */
  552. 000006BE  206A 0008                movea.l    A0, [A2 + 0x8]
  553. 000006C2  A02A                     syscall    HUnlock
  554. label000006C4:
  555. 000006C4  4AAA 000C                tst.l      [A2 + 0xC]
  556. 000006C8  6706                     beq        +0x8 /* 000006D0 */
  557. 000006CA  206A 000C                movea.l    A0, [A2 + 0xC]
  558. 000006CE  A02A                     syscall    HUnlock
  559. label000006D0:
  560. 000006D0  4AAA 0010                tst.l      [A2 + 0x10]
  561. 000006D4  6706                     beq        +0x8 /* 000006DC */
  562. 000006D6  206A 0010                movea.l    A0, [A2 + 0x10]
  563. 000006DA  A02A                     syscall    HUnlock
  564. label000006DC:
  565. 000006DC  4AAA 0014                tst.l      [A2 + 0x14]
  566. 000006E0  6706                     beq        +0x8 /* 000006E8 */
  567. 000006E2  206A 0014                movea.l    A0, [A2 + 0x14]
  568. 000006E6  A02A                     syscall    HUnlock
  569. label000006E8:
  570. 000006E8  4AAA 0018                tst.l      [A2 + 0x18]
  571. 000006EC  6706                     beq        +0x8 /* 000006F4 */
  572. 000006EE  206A 0018                movea.l    A0, [A2 + 0x18]
  573. 000006F2  A02A                     syscall    HUnlock
  574. label000006F4:
  575. 000006F4  4AAA 001C                tst.l      [A2 + 0x1C]
  576. 000006F8  6706                     beq        +0x8 /* 00000700 */
  577. 000006FA  206A 001C                movea.l    A0, [A2 + 0x1C]
  578. 000006FE  A02A                     syscall    HUnlock
  579. label00000700:
  580. 00000700  4AAA 0020                tst.l      [A2 + 0x20]
  581. 00000704  6706                     beq        +0x8 /* 0000070C */
  582. 00000706  206A 0020                movea.l    A0, [A2 + 0x20]
  583. 0000070A  A02A                     syscall    HUnlock
  584. label0000070C:
  585. 0000070C  4AAA 0024                tst.l      [A2 + 0x24]
  586. 00000710  6706                     beq        +0x8 /* 00000718 */
  587. 00000712  206A 0024                movea.l    A0, [A2 + 0x24]
  588. 00000716  A02A                     syscall    HUnlock
  589. label00000718:
  590. 00000718  4AAA 0028                tst.l      [A2 + 0x28]
  591. 0000071C  6706                     beq        +0x8 /* 00000724 */
  592. 0000071E  206A 0028                movea.l    A0, [A2 + 0x28]
  593. 00000722  A02A                     syscall    HUnlock
  594. label00000724:
  595. 00000724  4AAA 002C                tst.l      [A2 + 0x2C]
  596. 00000728  6706                     beq        +0x8 /* 00000730 */
  597. 0000072A  206A 002C                movea.l    A0, [A2 + 0x2C]
  598. 0000072E  A02A                     syscall    HUnlock
  599. label00000730:
  600. 00000730  245F                     movea.l    A2, [A7]+
  601. 00000732  4E75                     rts
  602. fn00000734:
  603. 00000734  226F 0004                movea.l    A1, [A7 + 0x4]
  604. 00000738  7000                     moveq.l    D0, 0x00
  605. 0000073A  4AA9 00E0                tst.l      [A1 + 0xE0]
  606. 0000073E  6708                     beq        +0xA /* 00000748 */
  607. 00000740  2069 00CC                movea.l    A0, [A1 + 0xCC]
  608. 00000744  D068 000A                add.w      D0, [A0 + 0xA]
  609. label00000748:
  610. 00000748  4AA9 0100                tst.l      [A1 + 0x100]
  611. 0000074C  6708                     beq        +0xA /* 00000756 */
  612. 0000074E  2069 00CC                movea.l    A0, [A1 + 0xCC]
  613. 00000752  D068 000C                add.w      D0, [A0 + 0xC]
  614. label00000756:
  615. 00000756  4E75                     rts
  616. fn00000758:
  617. 00000758  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  618. 0000075C  554F                     subq.w     A7, 2
  619. 0000075E  246F 0026                movea.l    A2, [A7 + 0x26]
  620. 00000762  3C2F 002A                move.w     D6, [A7 + 0x2A]
  621. 00000766  286F 002C                movea.l    A4, [A7 + 0x2C]
  622. 0000076A  2C6F 0030                movea.l    A6, [A7 + 0x30]
  623. 0000076E  266F 0034                movea.l    A3, [A7 + 0x34]
  624. 00000772  2F0B                     move.l     -[A7], A3
  625. 00000774  2F0A                     move.l     -[A7], A2
  626. 00000776  4EBA 31AE                jsr        [PC + 0x31AE /* 00003926 */]
  627. 0000077A  4AAA 0052                tst.l      [A2 + 0x52]
  628. 0000077E  504F                     addq.w     A7, 8
  629. 00000780  6718                     beq        +0x1A /* 0000079A */
  630. 00000782  362A 0060                move.w     D3, [A2 + 0x60]
  631. 00000786  4AAA 0056                tst.l      [A2 + 0x56]
  632. 0000078A  660A                     bne        +0xC /* 00000796 */
  633. 0000078C  2F0A                     move.l     -[A7], A2
  634. 0000078E  4EBA FFA4                jsr        [PC - 0x5C /* 00000734 */]
  635. 00000792  D640                     add.w      D3, D0
  636. 00000794  584F                     addq.w     A7, 4
  637. label00000796:
  638. 00000796  7800                     moveq.l    D4, 0x00
  639. 00000798  603E                     bra        +0x40 /* 000007D8 */
  640. label0000079A:
  641. 0000079A  7600                     moveq.l    D3, 0x00
  642. 0000079C  206A 00CC                movea.l    A0, [A2 + 0xCC]
  643. 000007A0  0828 0001 0002           btst.b     [A0 + 0x2], 0x1
  644. 000007A6  6604                     bne        +0x6 /* 000007AC */
  645. 000007A8  7000                     moveq.l    D0, 0x00
  646. 000007AA  6002                     bra        +0x4 /* 000007AE */
  647. label000007AC:
  648. 000007AC  7002                     moveq.l    D0, 0x02
  649. label000007AE:
  650. 000007AE  2800                     move.l     D4, D0
  651. 000007B0  206A 00CC                movea.l    A0, [A2 + 0xCC]
  652. 000007B4  3A28 000C                move.w     D5, [A0 + 0xC]
  653. 000007B8  4A45                     tst.w      D5
  654. 000007BA  6702                     beq        +0x4 /* 000007BE */
  655. 000007BC  D645                     add.w      D3, D5
  656. label000007BE:
  657. 000007BE  4AAA 00E0                tst.l      [A2 + 0xE0]
  658. 000007C2  6714                     beq        +0x16 /* 000007D8 */
  659. 000007C4  206A 00CC                movea.l    A0, [A2 + 0xCC]
  660. 000007C8  D668 000A                add.w      D3, [A0 + 0xA]
  661. 000007CC  3543 0048                move.w     [A2 + 0x48], D3
  662. 000007D0  3554 0046                move.w     [A2 + 0x46], [A4]
  663. 000007D4  3546 004C                move.w     [A2 + 0x4C], D6
  664. label000007D8:
  665. 000007D8  4AAA 00E0                tst.l      [A2 + 0xE0]
  666. 000007DC  6710                     beq        +0x12 /* 000007EE */
  667. 000007DE  7010                     moveq.l    D0, 0x10
  668. 000007E0  206A 00CC                movea.l    A0, [A2 + 0xCC]
  669. 000007E4  C090                     and.l      D0, [A0]
  670. 000007E6  6706                     beq        +0x8 /* 000007EE */
  671. 000007E8  2004                     move.l     D0, D4
  672. 000007EA  5280                     addq.l     D0, 1
  673. 000007EC  D154                     add.w      [A4], D0
  674. label000007EE:
  675. 000007EE  7008                     moveq.l    D0, 0x08
  676. 000007F0  206A 00CC                movea.l    A0, [A2 + 0xCC]
  677. 000007F4  C090                     and.l      D0, [A0]
  678. 000007F6  6706                     beq        +0x8 /* 000007FE */
  679. 000007F8  2004                     move.l     D0, D4
  680. 000007FA  5680                     addq.l     D0, 3
  681. 000007FC  D640                     add.w      D3, D0
  682. label000007FE:
  683. 000007FE  302A 010E                move.w     D0, [A2 + 0x10E]
  684. 00000802  48C0                     ext.l      D0
  685. 00000804  3203                     move.w     D1, D3
  686. 00000806  48C1                     ext.l      D1
  687. 00000808  D280                     add.l      D1, D0
  688. 0000080A  3F01                     move.w     -[A7], D1
  689. 0000080C  3F14                     move.w     -[A7], [A4]
  690. 0000080E  A893                     syscall    MoveTo
  691. 00000810  1F2F 0038                move.b     -[A7], [A7 + 0x38]
  692. 00000814  3F06                     move.w     -[A7], D6
  693. 00000816  486F 0004                pea.l      [A7 + 0x4]
  694. 0000081A  2F0E                     move.l     -[A7], A6
  695. 0000081C  2F0C                     move.l     -[A7], A4
  696. 0000081E  302A 010E                move.w     D0, [A2 + 0x10E]
  697. 00000822  48C0                     ext.l      D0
  698. 00000824  3203                     move.w     D1, D3
  699. 00000826  48C1                     ext.l      D1
  700. 00000828  D280                     add.l      D1, D0
  701. 0000082A  3F01                     move.w     -[A7], D1
  702. 0000082C  2F0A                     move.l     -[A7], A2
  703. 0000082E  4EBA 116E                jsr        [PC + 0x116E /* 0000199E */]
  704. 00000832  3800                     move.w     D4, D0
  705. 00000834  302F 0016                move.w     D0, [A7 + 0x16]
  706. 00000838  B06E 001A                cmp.w      D0, [A6 + 0x1A]
  707. 0000083C  4FEF 0016                lea.l      A7, [A7 + 0x16]
  708. 00000840  6F04                     ble        +0x6 /* 00000846 */
  709. 00000842  3D57 001A                move.w     [A6 + 0x1A], [A7]
  710. label00000846:
  711. 00000846  3686                     move.w     [A3], D6
  712. 00000848  42AA 00E0                clr.l      [A2 + 0xE0]
  713. 0000084C  4AAA 00E4                tst.l      [A2 + 0xE4]
  714. 00000850  670C                     beq        +0xE /* 0000085E */
  715. 00000852  2F0B                     move.l     -[A7], A3
  716. 00000854  2F0A                     move.l     -[A7], A2
  717. 00000856  4EBA 2ABA                jsr        [PC + 0x2ABA /* 00003312 */]
  718. 0000085A  504F                     addq.w     A7, 8
  719. 0000085C  600C                     bra        +0xE /* 0000086A */
  720. label0000085E:
  721. 0000085E  4A6A 010A                tst.w      [A2 + 0x10A]
  722. 00000862  6706                     beq        +0x8 /* 0000086A */
  723. 00000864  302A 010C                move.w     D0, [A2 + 0x10C]
  724. 00000868  9153                     sub.w      [A3], D0
  725. label0000086A:
  726. 0000086A  42AA 00E4                clr.l      [A2 + 0xE4]
  727. 0000086E  7001                     moveq.l    D0, 0x01
  728. 00000870  2540 00F0                move.l     [A2 + 0xF0], D0
  729. 00000874  3004                     move.w     D0, D4
  730. 00000876  544F                     addq.w     A7, 2
  731. 00000878  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  732. 0000087C  4E75                     rts
  733. fn0000087E:
  734. 0000087E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  735. 00000882  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  736. 00000886  3E2F 0038                move.w     D7, [A7 + 0x38]
  737. 0000088A  266F 003A                movea.l    A3, [A7 + 0x3A]
  738. 0000088E  2C6F 003E                movea.l    A6, [A7 + 0x3E]
  739. 00000892  1A2F 0042                move.b     D5, [A7 + 0x42]
  740. 00000896  286F 0044                movea.l    A4, [A7 + 0x44]
  741. 0000089A  246F 0034                movea.l    A2, [A7 + 0x34]
  742. 0000089E  7600                     moveq.l    D3, 0x00
  743. 000008A0  3816                     move.w     D4, [A6]
  744. 000008A2  4A92                     tst.l      [A2]
  745. 000008A4  6700 056C                beq        +0x56E /* 00000E12 */
  746. 000008A8  4292                     clr.l      [A2]
  747. 000008AA  70FF                     moveq.l    D0, 0xFFFFFFFF
  748. 000008AC  2540 0004                move.l     [A2 + 0x4], D0
  749. 000008B0  3556 0008                move.w     [A2 + 0x8], [A6]
  750. 000008B4  426A 000A                clr.w      [A2 + 0xA]
  751. 000008B8  3544 000C                move.w     [A2 + 0xC], D4
  752. 000008BC  70FF                     moveq.l    D0, 0xFFFFFFFF
  753. 000008BE  2940 000C                move.l     [A4 + 0xC], D0
  754. 000008C2  42AD ACFE                clr.l      [A5 - 0x5302]
  755. 000008C6  42AD AD0A                clr.l      [A5 - 0x52F6]
  756. 000008CA  0C05 0002                cmpi.b     D5, 0x2
  757. 000008CE  6700 0542                beq        +0x544 /* 00000E12 */
  758. 000008D2  4AAC 0008                tst.l      [A4 + 0x8]
  759. 000008D6  6600 053A                bne        +0x53C /* 00000E12 */
  760. 000008DA  4AAB 00D8                tst.l      [A3 + 0xD8]
  761. 000008DE  6618                     bne        +0x1A /* 000008F8 */
  762. 000008E0  2F2B 00B0                move.l     -[A7], [A3 + 0xB0]
  763. 000008E4  4EBA 23DE                jsr        [PC + 0x23DE /* 00002CC4 */]
  764. 000008E8  2600                     move.l     D3, D0
  765. 000008EA  2743 00D8                move.l     [A3 + 0xD8], D3
  766. 000008EE  7014                     moveq.l    D0, 0x14
  767. 000008F0  D083                     add.l      D0, D3
  768. 000008F2  2740 00DC                move.l     [A3 + 0xDC], D0
  769. 000008F6  584F                     addq.w     A7, 4
  770. label000008F8:
  771. 000008F8  202B 00DC                move.l     D0, [A3 + 0xDC]
  772. 000008FC  7224                     moveq.l    D1, 0x24
  773. 000008FE  4EAD D8F8                jsr        [A5 - 0x2708]
  774. 00000902  A322                     syscall    NewHandleClear, flags=3
  775. 00000904  2948 0008                move.l     [A4 + 0x8], A0
  776. 00000908  554F                     subq.w     A7, 2
  777. 0000090A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  778. 0000090E  301F                     move.w     D0, [A7]+
  779. 00000910  3600                     move.w     D3, D0
  780. 00000912  6700 04FE                beq        +0x500 /* 00000E12 */
  781. 00000916  3003                     move.w     D0, D3
  782. 00000918  4FEF 000C                lea.l      A7, [A7 + 0xC]
  783. 0000091C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  784. 00000920  4E75                     rts
  785. label00000922:
  786. 00000922  206B 00B0                movea.l    A0, [A3 + 0xB0]
  787. 00000926  3010                     move.w     D0, [A0]
  788. 00000928  48C0                     ext.l      D0
  789. 0000092A  0C80 0000 0016           cmpi.l     D0, 0x16
  790. 00000930  6238                     bhi        +0x3A /* 0000096A */
  791. 00000932  D040                     add.w      D0, D0
  792. 00000934  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  793. 00000938  4EFB 0002                jmp        [PC + D0.w + 0x2]
  794. 0000093C  0294 0294 0294           andi.l     [A4], 0x2940294
  795. 00000942  0294 0294 01B6           andi.l     [A4], 0x29401B6
  796. 00000948  01F2 0280                bset       [A2 + D0.w * 2 - 0x128], D0
  797. 0000094C  0064 0064                ori.w      -[A4], 0x64 /* 'd' */
  798. 00000950  0064 02F8                ori.w      -[A4], 0x2F8
  799. 00000954  0360                     bchg       -[A0], D1
  800. 00000956  0406 014A                subi.b     D6, 0x4A /* 'J' */
  801. 0000095A  00D6                     ori.?      [A6], 0xFFFFFFFFFFFFFFFF
  802. 0000095C  0038 00D6 00D6           ori.b      [0x000000D6], 0xD6
  803. 00000962  033C 014A                btst       0x4A /* 'J' */, D1
  804. 00000966  014A                     bchg       A2, D0
  805. 00000968  014A                     bchg       A2, D0
  806. label0000096A:
  807. 0000096A  7016                     moveq.l    D0, 0x16
  808. 0000096C  D1AB 00B0                add.l      [A3 + 0xB0], D0
  809. 00000970  6000 045A                bra        +0x45C /* 00000DCC */
  810. 00000974  4AAD ACFE                tst.l      [A5 - 0x5302]
  811. 00000978  6604                     bne        +0x6 /* 0000097E */
  812. 0000097A  7000                     moveq.l    D0, 0x00
  813. 0000097C  600E                     bra        +0x10 /* 0000098C */
  814. label0000097E:
  815. 0000097E  486A 0008                pea.l      [A2 + 0x8]
  816. 00000982  2F0B                     move.l     -[A7], A3
  817. 00000984  4EBA 0D84                jsr        [PC + 0xD84 /* 0000170A */]
  818. 00000988  48C0                     ext.l      D0
  819. 0000098A  504F                     addq.w     A7, 8
  820. label0000098C:
  821. 0000098C  3600                     move.w     D3, D0
  822. 0000098E  6600 043C                bne        +0x43E /* 00000DCC */
  823. 00000992  7001                     moveq.l    D0, 0x01
  824. 00000994  2740 0104                move.l     [A3 + 0x104], D0
  825. 00000998  426A 0008                clr.w      [A2 + 0x8]
  826. 0000099C  6000 042E                bra        +0x430 /* 00000DCC */
  827. 000009A0  1F05                     move.b     -[A7], D5
  828. 000009A2  486A 0008                pea.l      [A2 + 0x8]
  829. 000009A6  2F0C                     move.l     -[A7], A4
  830. 000009A8  486A 000A                pea.l      [A2 + 0xA]
  831. 000009AC  3F04                     move.w     -[A7], D4
  832. 000009AE  2F0B                     move.l     -[A7], A3
  833. 000009B0  4EBA 0894                jsr        [PC + 0x894 /* 00001246 */]
  834. 000009B4  3600                     move.w     D3, D0
  835. 000009B6  302A 0008                move.w     D0, [A2 + 0x8]
  836. 000009BA  48C0                     ext.l      D0
  837. 000009BC  4A80                     tst.l      D0
  838. 000009BE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  839. 000009C2  6C00 0408                bge        +0x40A /* 00000DCC */
  840. 000009C6  4AAD ACFE                tst.l      [A5 - 0x5302]
  841. 000009CA  6604                     bne        +0x6 /* 000009D0 */
  842. 000009CC  7000                     moveq.l    D0, 0x00
  843. 000009CE  600E                     bra        +0x10 /* 000009DE */
  844. label000009D0:
  845. 000009D0  486A 0008                pea.l      [A2 + 0x8]
  846. 000009D4  2F0B                     move.l     -[A7], A3
  847. 000009D6  4EBA 0D32                jsr        [PC + 0xD32 /* 0000170A */]
  848. 000009DA  48C0                     ext.l      D0
  849. 000009DC  504F                     addq.w     A7, 8
  850. label000009DE:
  851. 000009DE  3600                     move.w     D3, D0
  852. 000009E0  6600 03EA                bne        +0x3EC /* 00000DCC */
  853. 000009E4  302A 0008                move.w     D0, [A2 + 0x8]
  854. 000009E8  48C0                     ext.l      D0
  855. 000009EA  3204                     move.w     D1, D4
  856. 000009EC  48C1                     ext.l      D1
  857. 000009EE  9280                     sub.l      D1, D0
  858. 000009F0  2F41 0008                move.l     [A7 + 0x8], D1
  859. 000009F4  302A 000C                move.w     D0, [A2 + 0xC]
  860. 000009F8  48C0                     ext.l      D0
  861. 000009FA  B081                     cmp.l      D0, D1
  862. 000009FC  6C00 03CE                bge        +0x3D0 /* 00000DCC */
  863. 00000A00  4AAB 0052                tst.l      [A3 + 0x52]
  864. 00000A04  6600 03C6                bne        +0x3C8 /* 00000DCC */
  865. 00000A08  356F 000A 000C           move.w     [A2 + 0xC], [A7 + 0xA]
  866. 00000A0E  6000 03BC                bra        +0x3BE /* 00000DCC */
  867. 00000A12  1F05                     move.b     -[A7], D5
  868. 00000A14  486A 0008                pea.l      [A2 + 0x8]
  869. 00000A18  2F0C                     move.l     -[A7], A4
  870. 00000A1A  486A 000A                pea.l      [A2 + 0xA]
  871. 00000A1E  3F04                     move.w     -[A7], D4
  872. 00000A20  2F0B                     move.l     -[A7], A3
  873. 00000A22  3F07                     move.w     -[A7], D7
  874. 00000A24  4EBA 0972                jsr        [PC + 0x972 /* 00001398 */]
  875. 00000A28  3600                     move.w     D3, D0
  876. 00000A2A  302A 0008                move.w     D0, [A2 + 0x8]
  877. 00000A2E  48C0                     ext.l      D0
  878. 00000A30  4A80                     tst.l      D0
  879. 00000A32  4FEF 0016                lea.l      A7, [A7 + 0x16]
  880. 00000A36  6C00 0394                bge        +0x396 /* 00000DCC */
  881. 00000A3A  4AAD ACFE                tst.l      [A5 - 0x5302]
  882. 00000A3E  6604                     bne        +0x6 /* 00000A44 */
  883. 00000A40  7000                     moveq.l    D0, 0x00
  884. 00000A42  600E                     bra        +0x10 /* 00000A52 */
  885. label00000A44:
  886. 00000A44  486A 0008                pea.l      [A2 + 0x8]
  887. 00000A48  2F0B                     move.l     -[A7], A3
  888. 00000A4A  4EBA 0CBE                jsr        [PC + 0xCBE /* 0000170A */]
  889. 00000A4E  48C0                     ext.l      D0
  890. 00000A50  504F                     addq.w     A7, 8
  891. label00000A52:
  892. 00000A52  3600                     move.w     D3, D0
  893. 00000A54  6600 0376                bne        +0x378 /* 00000DCC */
  894. 00000A58  302A 0008                move.w     D0, [A2 + 0x8]
  895. 00000A5C  48C0                     ext.l      D0
  896. 00000A5E  3204                     move.w     D1, D4
  897. 00000A60  48C1                     ext.l      D1
  898. 00000A62  9280                     sub.l      D1, D0
  899. 00000A64  2F41 0004                move.l     [A7 + 0x4], D1
  900. 00000A68  302A 000C                move.w     D0, [A2 + 0xC]
  901. 00000A6C  48C0                     ext.l      D0
  902. 00000A6E  B081                     cmp.l      D0, D1
  903. 00000A70  6C00 035A                bge        +0x35C /* 00000DCC */
  904. 00000A74  4AAB 0052                tst.l      [A3 + 0x52]
  905. 00000A78  6600 0352                bne        +0x354 /* 00000DCC */
  906. 00000A7C  356F 0006 000C           move.w     [A2 + 0xC], [A7 + 0x6]
  907. 00000A82  6000 0348                bra        +0x34A /* 00000DCC */
  908. 00000A86  4AAD ACFE                tst.l      [A5 - 0x5302]
  909. 00000A8A  6604                     bne        +0x6 /* 00000A90 */
  910. 00000A8C  7000                     moveq.l    D0, 0x00
  911. 00000A8E  600E                     bra        +0x10 /* 00000A9E */
  912. label00000A90:
  913. 00000A90  486A 0008                pea.l      [A2 + 0x8]
  914. 00000A94  2F0B                     move.l     -[A7], A3
  915. 00000A96  4EBA 0C72                jsr        [PC + 0xC72 /* 0000170A */]
  916. 00000A9A  48C0                     ext.l      D0
  917. 00000A9C  504F                     addq.w     A7, 8
  918. label00000A9E:
  919. 00000A9E  3600                     move.w     D3, D0
  920. 00000AA0  6600 032A                bne        +0x32C /* 00000DCC */
  921. 00000AA4  0C05 0002                cmpi.b     D5, 0x2
  922. 00000AA8  673E                     beq        +0x40 /* 00000AE8 */
  923. 00000AAA  206B 00B0                movea.l    A0, [A3 + 0xB0]
  924. 00000AAE  0C50 000E                cmpi.w     [A0], 0xE
  925. 00000AB2  6608                     bne        +0xA /* 00000ABC */
  926. 00000AB4  41ED AD06                lea.l      A0, [A5 - 0x52FA]
  927. 00000AB8  2C08                     move.l     D6, A0
  928. 00000ABA  6006                     bra        +0x8 /* 00000AC2 */
  929. label00000ABC:
  930. 00000ABC  41ED ACFA                lea.l      A0, [A5 - 0x5306]
  931. 00000AC0  2C08                     move.l     D6, A0
  932. label00000AC2:
  933. 00000AC2  7002                     moveq.l    D0, 0x02
  934. 00000AC4  B0AD ACC0                cmp.l      D0, [A5 - 0x5340]
  935. 00000AC8  57C0                     seq        D0
  936. 00000ACA  4400                     neg.b      D0
  937. 00000ACC  4880                     ext.w      D0
  938. 00000ACE  48C0                     ext.l      D0
  939. 00000AD0  2F00                     move.l     -[A7], D0
  940. 00000AD2  4267                     clr.w      -[A7]
  941. 00000AD4  42A7                     clr.l      -[A7]
  942. 00000AD6  2F2B 00B0                move.l     -[A7], [A3 + 0xB0]
  943. 00000ADA  2F0B                     move.l     -[A7], A3
  944. 00000ADC  2F06                     move.l     -[A7], D6
  945. 00000ADE  4EBA 0D10                jsr        [PC + 0xD10 /* 000017F0 */]
  946. 00000AE2  3600                     move.w     D3, D0
  947. 00000AE4  4FEF 0016                lea.l      A7, [A7 + 0x16]
  948. label00000AE8:
  949. 00000AE8  7016                     moveq.l    D0, 0x16
  950. 00000AEA  D1AB 00B0                add.l      [A3 + 0xB0], D0
  951. 00000AEE  6000 02DC                bra        +0x2DE /* 00000DCC */
  952. 00000AF2  4AAD ACFE                tst.l      [A5 - 0x5302]
  953. 00000AF6  6604                     bne        +0x6 /* 00000AFC */
  954. 00000AF8  7000                     moveq.l    D0, 0x00
  955. 00000AFA  600E                     bra        +0x10 /* 00000B0A */
  956. label00000AFC:
  957. 00000AFC  486A 0008                pea.l      [A2 + 0x8]
  958. 00000B00  2F0B                     move.l     -[A7], A3
  959. 00000B02  4EBA 0C06                jsr        [PC + 0xC06 /* 0000170A */]
  960. 00000B06  48C0                     ext.l      D0
  961. 00000B08  504F                     addq.w     A7, 8
  962. label00000B0A:
  963. 00000B0A  3600                     move.w     D3, D0
  964. 00000B0C  6600 02BE                bne        +0x2C0 /* 00000DCC */
  965. 00000B10  1F05                     move.b     -[A7], D5
  966. 00000B12  486A 0008                pea.l      [A2 + 0x8]
  967. 00000B16  2F0C                     move.l     -[A7], A4
  968. 00000B18  486A 000A                pea.l      [A2 + 0xA]
  969. 00000B1C  3F04                     move.w     -[A7], D4
  970. 00000B1E  2F0B                     move.l     -[A7], A3
  971. 00000B20  4EBA 2588                jsr        [PC + 0x2588 /* 000030AA */]
  972. 00000B24  3600                     move.w     D3, D0
  973. 00000B26  4FEF 0014                lea.l      A7, [A7 + 0x14]
  974. 00000B2A  6000 02A0                bra        +0x2A2 /* 00000DCC */
  975. 00000B2E  4AAD ACFE                tst.l      [A5 - 0x5302]
  976. 00000B32  6604                     bne        +0x6 /* 00000B38 */
  977. 00000B34  7000                     moveq.l    D0, 0x00
  978. 00000B36  600E                     bra        +0x10 /* 00000B46 */
  979. label00000B38:
  980. 00000B38  486A 0008                pea.l      [A2 + 0x8]
  981. 00000B3C  2F0B                     move.l     -[A7], A3
  982. 00000B3E  4EBA 0BCA                jsr        [PC + 0xBCA /* 0000170A */]
  983. 00000B42  48C0                     ext.l      D0
  984. 00000B44  504F                     addq.w     A7, 8
  985. label00000B46:
  986. 00000B46  3600                     move.w     D3, D0
  987. 00000B48  6600 0282                bne        +0x284 /* 00000DCC */
  988. 00000B4C  206B 00B0                movea.l    A0, [A3 + 0xB0]
  989. 00000B50  2C28 0012                move.l     D6, [A0 + 0x12]
  990. 00000B54  7016                     moveq.l    D0, 0x16
  991. 00000B56  D1AB 00B0                add.l      [A3 + 0xB0], D0
  992. 00000B5A  604E                     bra        +0x50 /* 00000BAA */
  993. label00000B5C:
  994. 00000B5C  2F0C                     move.l     -[A7], A4
  995. 00000B5E  486A 0008                pea.l      [A2 + 0x8]
  996. 00000B62  3F16                     move.w     -[A7], [A6]
  997. 00000B64  2F0B                     move.l     -[A7], A3
  998. 00000B66  4EBA 1F88                jsr        [PC + 0x1F88 /* 00002AF0 */]
  999. 00000B6A  3600                     move.w     D3, D0
  1000. 00000B6C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1001. 00000B70  6638                     bne        +0x3A /* 00000BAA */
  1002. 00000B72  302A 0008                move.w     D0, [A2 + 0x8]
  1003. 00000B76  48C0                     ext.l      D0
  1004. 00000B78  4A80                     tst.l      D0
  1005. 00000B7A  6E2E                     bgt        +0x30 /* 00000BAA */
  1006. 00000B7C  206B 00CC                movea.l    A0, [A3 + 0xCC]
  1007. 00000B80  2010                     move.l     D0, [A0]
  1008. 00000B82  0280 0000 0400           andi.l     D0, 0x400
  1009. 00000B88  6620                     bne        +0x22 /* 00000BAA */
  1010. 00000B8A  7001                     moveq.l    D0, 0x01
  1011. 00000B8C  2740 00E8                move.l     [A3 + 0xE8], D0
  1012. 00000B90  1F05                     move.b     -[A7], D5
  1013. 00000B92  486A 0008                pea.l      [A2 + 0x8]
  1014. 00000B96  2F0C                     move.l     -[A7], A4
  1015. 00000B98  486A 000A                pea.l      [A2 + 0xA]
  1016. 00000B9C  3F04                     move.w     -[A7], D4
  1017. 00000B9E  2F0B                     move.l     -[A7], A3
  1018. 00000BA0  4EBA FBB6                jsr        [PC - 0x44A /* 00000758 */]
  1019. 00000BA4  3600                     move.w     D3, D0
  1020. 00000BA6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1021. label00000BAA:
  1022. 00000BAA  2006                     move.l     D0, D6
  1023. 00000BAC  5386                     subq.l     D6, 1
  1024. 00000BAE  4A80                     tst.l      D0
  1025. 00000BB0  6700 021A                beq        +0x21C /* 00000DCC */
  1026. 00000BB4  4A43                     tst.w      D3
  1027. 00000BB6  67A4                     beq        -0x5A /* 00000B5C */
  1028. 00000BB8  6000 0212                bra        +0x214 /* 00000DCC */
  1029. 00000BBC  206B 00B0                movea.l    A0, [A3 + 0xB0]
  1030. 00000BC0  2968 0012 000C           move.l     [A4 + 0xC], [A0 + 0x12]
  1031. 00000BC6  7016                     moveq.l    D0, 0x16
  1032. 00000BC8  D1AB 00B0                add.l      [A3 + 0xB0], D0
  1033. 00000BCC  6000 01FE                bra        +0x200 /* 00000DCC */
  1034. 00000BD0  486A 0004                pea.l      [A2 + 0x4]
  1035. 00000BD4  2F0C                     move.l     -[A7], A4
  1036. 00000BD6  1F05                     move.b     -[A7], D5
  1037. 00000BD8  486A 0008                pea.l      [A2 + 0x8]
  1038. 00000BDC  486A 000A                pea.l      [A2 + 0xA]
  1039. 00000BE0  2F0B                     move.l     -[A7], A3
  1040. 00000BE2  4EBA 0288                jsr        [PC + 0x288 /* 00000E6C */]
  1041. 00000BE6  3600                     move.w     D3, D0
  1042. 00000BE8  302A 0008                move.w     D0, [A2 + 0x8]
  1043. 00000BEC  48C0                     ext.l      D0
  1044. 00000BEE  4A80                     tst.l      D0
  1045. 00000BF0  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1046. 00000BF4  6E06                     bgt        +0x8 /* 00000BFC */
  1047. 00000BF6  7001                     moveq.l    D0, 0x01
  1048. 00000BF8  2740 00E4                move.l     [A3 + 0xE4], D0
  1049. label00000BFC:
  1050. 00000BFC  302A 0008                move.w     D0, [A2 + 0x8]
  1051. 00000C00  48C0                     ext.l      D0
  1052. 00000C02  4A80                     tst.l      D0
  1053. 00000C04  6C00 01C6                bge        +0x1C8 /* 00000DCC */
  1054. 00000C08  302A 0008                move.w     D0, [A2 + 0x8]
  1055. 00000C0C  48C0                     ext.l      D0
  1056. 00000C0E  3204                     move.w     D1, D4
  1057. 00000C10  48C1                     ext.l      D1
  1058. 00000C12  9280                     sub.l      D1, D0
  1059. 00000C14  2E81                     move.l     [A7], D1
  1060. 00000C16  302A 000C                move.w     D0, [A2 + 0xC]
  1061. 00000C1A  48C0                     ext.l      D0
  1062. 00000C1C  B081                     cmp.l      D0, D1
  1063. 00000C1E  6C00 01AC                bge        +0x1AE /* 00000DCC */
  1064. 00000C22  4AAB 0052                tst.l      [A3 + 0x52]
  1065. 00000C26  6600 01A4                bne        +0x1A6 /* 00000DCC */
  1066. 00000C2A  356F 0002 000C           move.w     [A2 + 0xC], [A7 + 0x2]
  1067. 00000C30  6000 019A                bra        +0x19C /* 00000DCC */
  1068. 00000C34  3544 0008                move.w     [A2 + 0x8], D4
  1069. 00000C38  4AAD ACFE                tst.l      [A5 - 0x5302]
  1070. 00000C3C  6604                     bne        +0x6 /* 00000C42 */
  1071. 00000C3E  7000                     moveq.l    D0, 0x00
  1072. 00000C40  600E                     bra        +0x10 /* 00000C50 */
  1073. label00000C42:
  1074. 00000C42  486A 0008                pea.l      [A2 + 0x8]
  1075. 00000C46  2F0B                     move.l     -[A7], A3
  1076. 00000C48  4EBA 0AC0                jsr        [PC + 0xAC0 /* 0000170A */]
  1077. 00000C4C  48C0                     ext.l      D0
  1078. 00000C4E  504F                     addq.w     A7, 8
  1079. label00000C50:
  1080. 00000C50  3600                     move.w     D3, D0
  1081. 00000C52  6600 0178                bne        +0x17A /* 00000DCC */
  1082. 00000C56  3F16                     move.w     -[A7], [A6]
  1083. 00000C58  1F05                     move.b     -[A7], D5
  1084. 00000C5A  2F0C                     move.l     -[A7], A4
  1085. 00000C5C  486A 000A                pea.l      [A2 + 0xA]
  1086. 00000C60  486A 000C                pea.l      [A2 + 0xC]
  1087. 00000C64  486A 0008                pea.l      [A2 + 0x8]
  1088. 00000C68  2F0B                     move.l     -[A7], A3
  1089. 00000C6A  4EBA 2890                jsr        [PC + 0x2890 /* 000034FC */]
  1090. 00000C6E  3600                     move.w     D3, D0
  1091. 00000C70  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1092. 00000C74  6000 0156                bra        +0x158 /* 00000DCC */
  1093. 00000C78  206B 00B0                movea.l    A0, [A3 + 0xB0]
  1094. 00000C7C  3768 0014 0066           move.w     [A3 + 0x66], [A0 + 0x14]
  1095. 00000C82  206B 00B0                movea.l    A0, [A3 + 0xB0]
  1096. 00000C86  2028 0012                move.l     D0, [A0 + 0x12]
  1097. 00000C8A  7210                     moveq.l    D1, 0x10
  1098. 00000C8C  E2A0                     asr        D0, D1
  1099. 00000C8E  3740 006A                move.w     [A3 + 0x6A], D0
  1100. 00000C92  7016                     moveq.l    D0, 0x16
  1101. 00000C94  D1AB 00B0                add.l      [A3 + 0xB0], D0
  1102. 00000C98  6000 0132                bra        +0x134 /* 00000DCC */
  1103. 00000C9C  4AAD ACFE                tst.l      [A5 - 0x5302]
  1104. 00000CA0  6604                     bne        +0x6 /* 00000CA6 */
  1105. 00000CA2  7000                     moveq.l    D0, 0x00
  1106. 00000CA4  600E                     bra        +0x10 /* 00000CB4 */
  1107. label00000CA6:
  1108. 00000CA6  486A 0008                pea.l      [A2 + 0x8]
  1109. 00000CAA  2F0B                     move.l     -[A7], A3
  1110. 00000CAC  4EBA 0A5C                jsr        [PC + 0xA5C /* 0000170A */]
  1111. 00000CB0  48C0                     ext.l      D0
  1112. 00000CB2  504F                     addq.w     A7, 8
  1113. label00000CB4:
  1114. 00000CB4  3600                     move.w     D3, D0
  1115. 00000CB6  6600 0114                bne        +0x116 /* 00000DCC */
  1116. 00000CBA  4AAD AD0A                tst.l      [A5 - 0x52F6]
  1117. 00000CBE  671E                     beq        +0x20 /* 00000CDE */
  1118. 00000CC0  1F05                     move.b     -[A7], D5
  1119. 00000CC2  486A 0008                pea.l      [A2 + 0x8]
  1120. 00000CC6  2F0C                     move.l     -[A7], A4
  1121. 00000CC8  486A 000A                pea.l      [A2 + 0xA]
  1122. 00000CCC  3F04                     move.w     -[A7], D4
  1123. 00000CCE  2F0B                     move.l     -[A7], A3
  1124. 00000CD0  4EBA FA86                jsr        [PC - 0x57A /* 00000758 */]
  1125. 00000CD4  3600                     move.w     D3, D0
  1126. 00000CD6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1127. 00000CDA  6600 00F0                bne        +0xF2 /* 00000DCC */
  1128. label00000CDE:
  1129. 00000CDE  4AAB 0052                tst.l      [A3 + 0x52]
  1130. 00000CE2  6720                     beq        +0x22 /* 00000D04 */
  1131. 00000CE4  3F2A 000A                move.w     -[A7], [A2 + 0xA]
  1132. 00000CE8  2F0B                     move.l     -[A7], A3
  1133. 00000CEA  4EBA 27EC                jsr        [PC + 0x27EC /* 000034D8 */]
  1134. 00000CEE  202B 004E                move.l     D0, [A3 + 0x4E]
  1135. 00000CF2  0280 0000 083C           andi.l     D0, 0x83C
  1136. 00000CF8  5C4F                     addq.w     A7, 6
  1137. 00000CFA  6708                     beq        +0xA /* 00000D04 */
  1138. 00000CFC  2F0B                     move.l     -[A7], A3
  1139. 00000CFE  4EBA 2508                jsr        [PC + 0x2508 /* 00003208 */]
  1140. 00000D02  584F                     addq.w     A7, 4
  1141. label00000D04:
  1142. 00000D04  3F16                     move.w     -[A7], [A6]
  1143. 00000D06  486A 000A                pea.l      [A2 + 0xA]
  1144. 00000D0A  206B 00B0                movea.l    A0, [A3 + 0xB0]
  1145. 00000D0E  2028 0012                move.l     D0, [A0 + 0x12]
  1146. 00000D12  720A                     moveq.l    D1, 0x0A
  1147. 00000D14  4EAD D8F8                jsr        [A5 - 0x2708]
  1148. 00000D18  206B 00C8                movea.l    A0, [A3 + 0xC8]
  1149. 00000D1C  D1C0                     add.l      A0, D0
  1150. 00000D1E  4850                     pea.l      [A0]
  1151. 00000D20  2F0B                     move.l     -[A7], A3
  1152. 00000D22  4EBA 26E4                jsr        [PC + 0x26E4 /* 00003408 */]
  1153. 00000D26  7016                     moveq.l    D0, 0x16
  1154. 00000D28  D1AB 00B0                add.l      [A3 + 0xB0], D0
  1155. 00000D2C  3544 0008                move.w     [A2 + 0x8], D4
  1156. 00000D30  486A 0008                pea.l      [A2 + 0x8]
  1157. 00000D34  2F0B                     move.l     -[A7], A3
  1158. 00000D36  4EBA 25DA                jsr        [PC + 0x25DA /* 00003312 */]
  1159. 00000D3A  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1160. 00000D3E  6000 008C                bra        +0x8E /* 00000DCC */
  1161. 00000D42  4AAD ACFE                tst.l      [A5 - 0x5302]
  1162. 00000D46  6604                     bne        +0x6 /* 00000D4C */
  1163. 00000D48  7000                     moveq.l    D0, 0x00
  1164. 00000D4A  600E                     bra        +0x10 /* 00000D5A */
  1165. label00000D4C:
  1166. 00000D4C  486A 0008                pea.l      [A2 + 0x8]
  1167. 00000D50  2F0B                     move.l     -[A7], A3
  1168. 00000D52  4EBA 09B6                jsr        [PC + 0x9B6 /* 0000170A */]
  1169. 00000D56  48C0                     ext.l      D0
  1170. 00000D58  504F                     addq.w     A7, 8
  1171. label00000D5A:
  1172. 00000D5A  3600                     move.w     D3, D0
  1173. 00000D5C  666E                     bne        +0x70 /* 00000DCC */
  1174. 00000D5E  7016                     moveq.l    D0, 0x16
  1175. 00000D60  D1AB 00B0                add.l      [A3 + 0xB0], D0
  1176. 00000D64  4AAB 0052                tst.l      [A3 + 0x52]
  1177. 00000D68  6762                     beq        +0x64 /* 00000DCC */
  1178. 00000D6A  426B 0108                clr.w      [A3 + 0x108]
  1179. 00000D6E  1F05                     move.b     -[A7], D5
  1180. 00000D70  486A 0008                pea.l      [A2 + 0x8]
  1181. 00000D74  2F0C                     move.l     -[A7], A4
  1182. 00000D76  486A 000A                pea.l      [A2 + 0xA]
  1183. 00000D7A  3F04                     move.w     -[A7], D4
  1184. 00000D7C  2F0B                     move.l     -[A7], A3
  1185. 00000D7E  4EBA F9D8                jsr        [PC - 0x628 /* 00000758 */]
  1186. 00000D82  3600                     move.w     D3, D0
  1187. 00000D84  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1188. 00000D88  6642                     bne        +0x44 /* 00000DCC */
  1189. 00000D8A  3F2A 000A                move.w     -[A7], [A2 + 0xA]
  1190. 00000D8E  2F0B                     move.l     -[A7], A3
  1191. 00000D90  4EBA 2746                jsr        [PC + 0x2746 /* 000034D8 */]
  1192. 00000D94  202B 004E                move.l     D0, [A3 + 0x4E]
  1193. 00000D98  0280 0000 083C           andi.l     D0, 0x83C
  1194. 00000D9E  5C4F                     addq.w     A7, 6
  1195. 00000DA0  6708                     beq        +0xA /* 00000DAA */
  1196. 00000DA2  2F0B                     move.l     -[A7], A3
  1197. 00000DA4  4EBA 2462                jsr        [PC + 0x2462 /* 00003208 */]
  1198. 00000DA8  584F                     addq.w     A7, 4
  1199. label00000DAA:
  1200. 00000DAA  42AB 0052                clr.l      [A3 + 0x52]
  1201. 00000DAE  4A6B 005A                tst.w      [A3 + 0x5A]
  1202. 00000DB2  6712                     beq        +0x14 /* 00000DC6 */
  1203. 00000DB4  302B 005A                move.w     D0, [A3 + 0x5A]
  1204. 00000DB8  48C0                     ext.l      D0
  1205. 00000DBA  322B 005C                move.w     D1, [A3 + 0x5C]
  1206. 00000DBE  48C1                     ext.l      D1
  1207. 00000DC0  D280                     add.l      D1, D0
  1208. 00000DC2  3541 000A                move.w     [A2 + 0xA], D1
  1209. label00000DC6:
  1210. 00000DC6  7001                     moveq.l    D0, 0x01
  1211. 00000DC8  2740 00E0                move.l     [A3 + 0xE0], D0
  1212. label00000DCC:
  1213. 00000DCC  206B 00B0                movea.l    A0, [A3 + 0xB0]
  1214. 00000DD0  0C50 000E                cmpi.w     [A0], 0xE
  1215. 00000DD4  673C                     beq        +0x3E /* 00000E12 */
  1216. 00000DD6  206B 00CC                movea.l    A0, [A3 + 0xCC]
  1217. 00000DDA  2010                     move.l     D0, [A0]
  1218. 00000DDC  0280 0000 0400           andi.l     D0, 0x400
  1219. 00000DE2  662E                     bne        +0x30 /* 00000E12 */
  1220. 00000DE4  302A 0008                move.w     D0, [A2 + 0x8]
  1221. 00000DE8  48C0                     ext.l      D0
  1222. 00000DEA  4A80                     tst.l      D0
  1223. 00000DEC  6E24                     bgt        +0x26 /* 00000E12 */
  1224. 00000DEE  4A43                     tst.w      D3
  1225. 00000DF0  6620                     bne        +0x22 /* 00000E12 */
  1226. 00000DF2  7001                     moveq.l    D0, 0x01
  1227. 00000DF4  2740 00E8                move.l     [A3 + 0xE8], D0
  1228. 00000DF8  1F05                     move.b     -[A7], D5
  1229. 00000DFA  486A 0008                pea.l      [A2 + 0x8]
  1230. 00000DFE  2F0C                     move.l     -[A7], A4
  1231. 00000E00  486A 000A                pea.l      [A2 + 0xA]
  1232. 00000E04  3F04                     move.w     -[A7], D4
  1233. 00000E06  2F0B                     move.l     -[A7], A3
  1234. 00000E08  4EBA F94E                jsr        [PC - 0x6B2 /* 00000758 */]
  1235. 00000E0C  3600                     move.w     D3, D0
  1236. 00000E0E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1237. label00000E12:
  1238. 00000E12  4A43                     tst.w      D3
  1239. 00000E14  6608                     bne        +0xA /* 00000E1E */
  1240. 00000E16  4AAB 0104                tst.l      [A3 + 0x104]
  1241. 00000E1A  6700 FB06                beq        -0x4F8 /* 00000922 */
  1242. label00000E1E:
  1243. 00000E1E  4A43                     tst.w      D3
  1244. 00000E20  662A                     bne        +0x2C /* 00000E4C */
  1245. 00000E22  206B 00CC                movea.l    A0, [A3 + 0xCC]
  1246. 00000E26  2010                     move.l     D0, [A0]
  1247. 00000E28  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  1248. 00000E2E  671C                     beq        +0x1E /* 00000E4C */
  1249. 00000E30  3F16                     move.w     -[A7], [A6]
  1250. 00000E32  2F0C                     move.l     -[A7], A4
  1251. 00000E34  486A 000A                pea.l      [A2 + 0xA]
  1252. 00000E38  486A 000C                pea.l      [A2 + 0xC]
  1253. 00000E3C  486A 0008                pea.l      [A2 + 0x8]
  1254. 00000E40  2F0B                     move.l     -[A7], A3
  1255. 00000E42  4EBA 27A0                jsr        [PC + 0x27A0 /* 000035E4 */]
  1256. 00000E46  3600                     move.w     D3, D0
  1257. 00000E48  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1258. label00000E4C:
  1259. 00000E4C  302B 010A                move.w     D0, [A3 + 0x10A]
  1260. 00000E50  D16A 000A                add.w      [A2 + 0xA], D0
  1261. 00000E54  206F 0048                movea.l    A0, [A7 + 0x48]
  1262. 00000E58  30AA 000A                move.w     [A0], [A2 + 0xA]
  1263. 00000E5C  3CAA 000C                move.w     [A6], [A2 + 0xC]
  1264. 00000E60  3003                     move.w     D0, D3
  1265. 00000E62  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1266. 00000E66  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1267. 00000E6A  4E75                     rts
  1268. fn00000E6C:
  1269. 00000E6C  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1270. 00000E70  4FEF FF8E                lea.l      A7, [A7 - 0x72]
  1271. 00000E74  2A2F 009A                move.l     D5, [A7 + 0x9A]
  1272. 00000E78  2C2F 00A2                move.l     D6, [A7 + 0xA2]
  1273. 00000E7C  4AAD AD0A                tst.l      [A5 - 0x52F6]
  1274. 00000E80  57C0                     seq        D0
  1275. 00000E82  4400                     neg.b      D0
  1276. 00000E84  4880                     ext.w      D0
  1277. 00000E86  48C0                     ext.l      D0
  1278. 00000E88  2F40 004C                move.l     [A7 + 0x4C], D0
  1279. 00000E8C  42AF 0052                clr.l      [A7 + 0x52]
  1280. 00000E90  2045                     movea.l    A0, D5
  1281. 00000E92  2068 00CC                movea.l    A0, [A0 + 0xCC]
  1282. 00000E96  2010                     move.l     D0, [A0]
  1283. 00000E98  0280 0000 0400           andi.l     D0, 0x400
  1284. 00000E9E  57C0                     seq        D0
  1285. 00000EA0  4400                     neg.b      D0
  1286. 00000EA2  4880                     ext.w      D0
  1287. 00000EA4  48C0                     ext.l      D0
  1288. 00000EA6  2F40 0038                move.l     [A7 + 0x38], D0
  1289. 00000EAA  2045                     movea.l    A0, D5
  1290. 00000EAC  2628 00B0                move.l     D3, [A0 + 0xB0]
  1291. 00000EB0  2043                     movea.l    A0, D3
  1292. 00000EB2  3F50 005C                move.w     [A7 + 0x5C], [A0]
  1293. 00000EB6  2F68 000E 006A           move.l     [A7 + 0x6A], [A0 + 0xE]
  1294. 00000EBC  2F68 0012 006E           move.l     [A7 + 0x6E], [A0 + 0x12]
  1295. 00000EC2  2F68 0002 005E           move.l     [A7 + 0x5E], [A0 + 0x2]
  1296. 00000EC8  206F 00AC                movea.l    A0, [A7 + 0xAC]
  1297. 00000ECC  4A90                     tst.l      [A0]
  1298. 00000ECE  6C0A                     bge        +0xC /* 00000EDA */
  1299. 00000ED0  2043                     movea.l    A0, D3
  1300. 00000ED2  226F 00AC                movea.l    A1, [A7 + 0xAC]
  1301. 00000ED6  22A8 0006                move.l     [A1], [A0 + 0x6]
  1302. label00000EDA:
  1303. 00000EDA  4857                     pea.l      [A7]
  1304. 00000EDC  486F 000E                pea.l      [A7 + 0xE]
  1305. 00000EE0  486F 004E                pea.l      [A7 + 0x4E]
  1306. 00000EE4  486F 0050                pea.l      [A7 + 0x50]
  1307. 00000EE8  2F03                     move.l     -[A7], D3
  1308. 00000EEA  2F05                     move.l     -[A7], D5
  1309. 00000EEC  4EBA 0632                jsr        [PC + 0x632 /* 00001520 */]
  1310. 00000EF0  3F40 0068                move.w     [A7 + 0x68], D0
  1311. 00000EF4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1312. 00000EF8  670E                     beq        +0x10 /* 00000F08 */
  1313. 00000EFA  302F 0050                move.w     D0, [A7 + 0x50]
  1314. 00000EFE  4FEF 0072                lea.l      A7, [A7 + 0x72]
  1315. 00000F02  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1316. 00000F06  4E75                     rts
  1317. label00000F08:
  1318. 00000F08  2045                     movea.l    A0, D5
  1319. 00000F0A  316F 0046 0108           move.w     [A0 + 0x108], [A7 + 0x46]
  1320. 00000F10  554F                     subq.w     A7, 2
  1321. 00000F12  1EB8 0BF4                move.b     [A7], [0x00000BF4 /* FractEnable */]
  1322. 00000F16  101F                     move.b     D0, [A7]+
  1323. 00000F18  670E                     beq        +0x10 /* 00000F28 */
  1324. 00000F1A  486F 000E                pea.l      [A7 + 0xE]
  1325. 00000F1E  A835                     syscall    FontMetrics
  1326. 00000F20  206F 001E                movea.l    A0, [A7 + 0x1E]
  1327. 00000F24  2F50 0040                move.l     [A7 + 0x40], [A0]
  1328. label00000F28:
  1329. 00000F28  206F 00AC                movea.l    A0, [A7 + 0xAC]
  1330. 00000F2C  2845                     movea.l    A4, D5
  1331. 00000F2E  286C 0098                movea.l    A4, [A4 + 0x98]
  1332. 00000F32  D9D0                     add.l      A4, [A0]
  1333. 00000F34  0C14 0001                cmpi.b     [A4], 0x1
  1334. 00000F38  6604                     bne        +0x6 /* 00000F3E */
  1335. 00000F3A  528C                     addq.l     A4, 1
  1336. 00000F3C  5290                     addq.l     [A0], 1
  1337. label00000F3E:
  1338. 00000F3E  206F 00AC                movea.l    A0, [A7 + 0xAC]
  1339. 00000F42  2F50 0062                move.l     [A7 + 0x62], [A0]
  1340. 00000F46  244C                     movea.l    A2, A4
  1341. 00000F48  264C                     movea.l    A3, A4
  1342. 00000F4A  2043                     movea.l    A0, D3
  1343. 00000F4C  2C6F 00AC                movea.l    A6, [A7 + 0xAC]
  1344. 00000F50  2016                     move.l     D0, [A6]
  1345. 00000F52  90A8 0006                sub.l      D0, [A0 + 0x6]
  1346. 00000F56  2C4A                     movea.l    A6, A2
  1347. 00000F58  DDE8 000A                add.l      A6, [A0 + 0xA]
  1348. 00000F5C  9DC0                     sub.l      A6, D0
  1349. 00000F5E  426F 0056                clr.w      [A7 + 0x56]
  1350. 00000F62  7E00                     moveq.l    D7, 0x00
  1351. 00000F64  42AF 0048                clr.l      [A7 + 0x48]
  1352. 00000F68  206F 000A                movea.l    A0, [A7 + 0xA]
  1353. 00000F6C  2810                     move.l     D4, [A0]
  1354. 00000F6E  7001                     moveq.l    D0, 0x01
  1355. 00000F70  2F40 0058                move.l     [A7 + 0x58], D0
  1356. 00000F74  2043                     movea.l    A0, D3
  1357. 00000F76  4A50                     tst.w      [A0]
  1358. 00000F78  56C0                     sne        D0
  1359. 00000F7A  4400                     neg.b      D0
  1360. 00000F7C  4880                     ext.w      D0
  1361. 00000F7E  48C0                     ext.l      D0
  1362. 00000F80  2F40 003C                move.l     [A7 + 0x3C], D0
  1363. 00000F84  6600 018A                bne        +0x18C /* 00001110 */
  1364. 00000F88  2045                     movea.l    A0, D5
  1365. 00000F8A  42A8 00EC                clr.l      [A0 + 0xEC]
  1366. 00000F8E  6000 0180                bra        +0x182 /* 00001110 */
  1367. label00000F92:
  1368. 00000F92  1612                     move.b     D3, [A2]
  1369. 00000F94  7000                     moveq.l    D0, 0x00
  1370. 00000F96  1003                     move.b     D0, D3
  1371. 00000F98  7220                     moveq.l    D1, 0x20
  1372. 00000F9A  B081                     cmp.l      D0, D1
  1373. 00000F9C  6E54                     bgt        +0x56 /* 00000FF2 */
  1374. 00000F9E  7000                     moveq.l    D0, 0x00
  1375. 00000FA0  1003                     move.b     D0, D3
  1376. 00000FA2  7211                     moveq.l    D1, 0x11
  1377. 00000FA4  B081                     cmp.l      D0, D1
  1378. 00000FA6  6D0A                     blt        +0xC /* 00000FB2 */
  1379. 00000FA8  7000                     moveq.l    D0, 0x00
  1380. 00000FAA  1003                     move.b     D0, D3
  1381. 00000FAC  7214                     moveq.l    D1, 0x14
  1382. 00000FAE  B081                     cmp.l      D0, D1
  1383. 00000FB0  6F40                     ble        +0x42 /* 00000FF2 */
  1384. label00000FB2:
  1385. 00000FB2  4AAD ACFE                tst.l      [A5 - 0x5302]
  1386. 00000FB6  6604                     bne        +0x6 /* 00000FBC */
  1387. 00000FB8  7000                     moveq.l    D0, 0x00
  1388. 00000FBA  600C                     bra        +0xE /* 00000FC8 */
  1389. label00000FBC:
  1390. 00000FBC  2F06                     move.l     -[A7], D6
  1391. 00000FBE  2F05                     move.l     -[A7], D5
  1392. 00000FC0  4EBA 0748                jsr        [PC + 0x748 /* 0000170A */]
  1393. 00000FC4  48C0                     ext.l      D0
  1394. 00000FC6  504F                     addq.w     A7, 8
  1395. label00000FC8:
  1396. 00000FC8  3F40 0050                move.w     [A7 + 0x50], D0
  1397. 00000FCC  670E                     beq        +0x10 /* 00000FDC */
  1398. 00000FCE  302F 0050                move.w     D0, [A7 + 0x50]
  1399. 00000FD2  4FEF 0072                lea.l      A7, [A7 + 0x72]
  1400. 00000FD6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1401. 00000FDA  4E75                     rts
  1402. label00000FDC:
  1403. 00000FDC  4AAF 0058                tst.l      [A7 + 0x58]
  1404. 00000FE0  6604                     bne        +0x6 /* 00000FE6 */
  1405. 00000FE2  3F47 0056                move.w     [A7 + 0x56], D7
  1406. label00000FE6:
  1407. 00000FE6  7001                     moveq.l    D0, 0x01
  1408. 00000FE8  2F40 0052                move.l     [A7 + 0x52], D0
  1409. 00000FEC  2F40 0058                move.l     [A7 + 0x58], D0
  1410. 00000FF0  600C                     bra        +0xE /* 00000FFE */
  1411. label00000FF2:
  1412. 00000FF2  4AAF 0058                tst.l      [A7 + 0x58]
  1413. 00000FF6  6706                     beq        +0x8 /* 00000FFE */
  1414. 00000FF8  264A                     movea.l    A3, A2
  1415. 00000FFA  42AF 0058                clr.l      [A7 + 0x58]
  1416. label00000FFE:
  1417. 00000FFE  554F                     subq.w     A7, 2
  1418. 00001000  1EB8 0BF4                move.b     [A7], [0x00000BF4 /* FractEnable */]
  1419. 00001004  101F                     move.b     D0, [A7]+
  1420. 00001006  6720                     beq        +0x22 /* 00001028 */
  1421. 00001008  7000                     moveq.l    D0, 0x00
  1422. 0000100A  1003                     move.b     D0, D3
  1423. 0000100C  E588                     lsl        D0, 2
  1424. 0000100E  206F 0040                movea.l    A0, [A7 + 0x40]
  1425. 00001012  2030 0800                move.l     D0, [A0 + D0]
  1426. 00001016  D1AF 0048                add.l      [A7 + 0x48], D0
  1427. 0000101A  554F                     subq.w     A7, 2
  1428. 0000101C  2F2F 004A                move.l     -[A7], [A7 + 0x4A]
  1429. 00001020  A86C                     syscall    FixRound
  1430. 00001022  301F                     move.w     D0, [A7]+
  1431. 00001024  3E00                     move.w     D7, D0
  1432. 00001026  600C                     bra        +0xE /* 00001034 */
  1433. label00001028:
  1434. 00001028  7000                     moveq.l    D0, 0x00
  1435. 0000102A  1003                     move.b     D0, D3
  1436. 0000102C  D080                     add.l      D0, D0
  1437. 0000102E  2044                     movea.l    A0, D4
  1438. 00001030  DE70 0800                add.w      D7, [A0 + D0]
  1439. label00001034:
  1440. 00001034  2046                     movea.l    A0, D6
  1441. 00001036  BE50                     cmp.w      D7, [A0]
  1442. 00001038  6D00 00D4                blt        +0xD6 /* 0000110E */
  1443. 0000103C  4AAF 0038                tst.l      [A7 + 0x38]
  1444. 00001040  6700 00CC                beq        +0xCE /* 0000110E */
  1445. 00001044  7000                     moveq.l    D0, 0x00
  1446. 00001046  1003                     move.b     D0, D3
  1447. 00001048  7220                     moveq.l    D1, 0x20
  1448. 0000104A  B081                     cmp.l      D0, D1
  1449. 0000104C  6E18                     bgt        +0x1A /* 00001066 */
  1450. 0000104E  7000                     moveq.l    D0, 0x00
  1451. 00001050  1003                     move.b     D0, D3
  1452. 00001052  7211                     moveq.l    D1, 0x11
  1453. 00001054  B081                     cmp.l      D0, D1
  1454. 00001056  6D00 00B6                blt        +0xB8 /* 0000110E */
  1455. 0000105A  7000                     moveq.l    D0, 0x00
  1456. 0000105C  1003                     move.b     D0, D3
  1457. 0000105E  7214                     moveq.l    D1, 0x14
  1458. 00001060  B081                     cmp.l      D0, D1
  1459. 00001062  6E00 00AA                bgt        +0xAC /* 0000110E */
  1460. label00001066:
  1461. 00001066  4AAF 0052                tst.l      [A7 + 0x52]
  1462. 0000106A  6608                     bne        +0xA /* 00001074 */
  1463. 0000106C  4AAF 004C                tst.l      [A7 + 0x4C]
  1464. 00001070  6600 009C                bne        +0x9E /* 0000110E */
  1465. label00001074:
  1466. 00001074  4AAF 003C                tst.l      [A7 + 0x3C]
  1467. 00001078  670E                     beq        +0x10 /* 00001088 */
  1468. 0000107A  4AAF 0052                tst.l      [A7 + 0x52]
  1469. 0000107E  6708                     beq        +0xA /* 00001088 */
  1470. 00001080  2045                     movea.l    A0, D5
  1471. 00001082  7001                     moveq.l    D0, 0x01
  1472. 00001084  2140 00EC                move.l     [A0 + 0xEC], D0
  1473. label00001088:
  1474. 00001088  204B                     movea.l    A0, A3
  1475. 0000108A  91CC                     sub.l      A0, A4
  1476. 0000108C  2F48 0066                move.l     [A7 + 0x66], A0
  1477. 00001090  2008                     move.l     D0, A0
  1478. 00001092  6610                     bne        +0x12 /* 000010A4 */
  1479. 00001094  2046                     movea.l    A0, D6
  1480. 00001096  4250                     clr.w      [A0]
  1481. 00001098  7000                     moveq.l    D0, 0x00
  1482. 0000109A  4FEF 0072                lea.l      A7, [A7 + 0x72]
  1483. 0000109E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1484. 000010A2  4E75                     rts
  1485. label000010A4:
  1486. 000010A4  2045                     movea.l    A0, D5
  1487. 000010A6  4A68 0110                tst.w      [A0 + 0x110]
  1488. 000010AA  6728                     beq        +0x2A /* 000010D4 */
  1489. 000010AC  2046                     movea.l    A0, D6
  1490. 000010AE  302F 0056                move.w     D0, [A7 + 0x56]
  1491. 000010B2  B050                     cmp.w      D0, [A0]
  1492. 000010B4  6F1E                     ble        +0x20 /* 000010D4 */
  1493. 000010B6  4AAF 004C                tst.l      [A7 + 0x4C]
  1494. 000010BA  6718                     beq        +0x1A /* 000010D4 */
  1495. 000010BC  2045                     movea.l    A0, D5
  1496. 000010BE  226F 009E                movea.l    A1, [A7 + 0x9E]
  1497. 000010C2  3028 010A                move.w     D0, [A0 + 0x10A]
  1498. 000010C6  D151                     add.w      [A1], D0
  1499. 000010C8  3F28 010A                move.w     -[A7], [A0 + 0x10A]
  1500. 000010CC  2F05                     move.l     -[A7], D5
  1501. 000010CE  4EBA 1338                jsr        [PC + 0x1338 /* 00002408 */]
  1502. 000010D2  5C4F                     addq.w     A7, 6
  1503. label000010D4:
  1504. 000010D4  206F 00AC                movea.l    A0, [A7 + 0xAC]
  1505. 000010D8  202F 0066                move.l     D0, [A7 + 0x66]
  1506. 000010DC  D190                     add.l      [A0], D0
  1507. 000010DE  2046                     movea.l    A0, D6
  1508. 000010E0  4250                     clr.w      [A0]
  1509. 000010E2  2045                     movea.l    A0, D5
  1510. 000010E4  42A8 00E8                clr.l      [A0 + 0xE8]
  1511. 000010E8  42A7                     clr.l      -[A7]
  1512. 000010EA  3F2F 005A                move.w     -[A7], [A7 + 0x5A]
  1513. 000010EE  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1514. 000010F2  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1515. 000010F6  486F 0066                pea.l      [A7 + 0x66]
  1516. 000010FA  2F05                     move.l     -[A7], D5
  1517. 000010FC  486D AD06                pea.l      [A5 - 0x52FA]
  1518. 00001100  4EBA 06EE                jsr        [PC + 0x6EE /* 000017F0 */]
  1519. 00001104  4FEF 0088                lea.l      A7, [A7 + 0x88]
  1520. 00001108  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1521. 0000110C  4E75                     rts
  1522. label0000110E:
  1523. 0000110E  528A                     addq.l     A2, 1
  1524. label00001110:
  1525. 00001110  B5CE                     cmpa.l     A2, A6
  1526. 00001112  6500 FE7E                bcs        -0x180 /* 00000F92 */
  1527. 00001116  206F 00AC                movea.l    A0, [A7 + 0xAC]
  1528. 0000111A  70FF                     moveq.l    D0, 0xFFFFFFFF
  1529. 0000111C  2080                     move.l     [A0], D0
  1530. 0000111E  2045                     movea.l    A0, D5
  1531. 00001120  7016                     moveq.l    D0, 0x16
  1532. 00001122  D1A8 00B0                add.l      [A0 + 0xB0], D0
  1533. 00001126  2046                     movea.l    A0, D6
  1534. 00001128  9F50                     sub.w      [A0], D7
  1535. 0000112A  2045                     movea.l    A0, D5
  1536. 0000112C  42A8 00F0                clr.l      [A0 + 0xF0]
  1537. 00001130  4AAF 0058                tst.l      [A7 + 0x58]
  1538. 00001134  6600 00CC                bne        +0xCE /* 00001202 */
  1539. 00001138  3F6F 005C 0022           move.w     [A7 + 0x22], [A7 + 0x5C]
  1540. 0000113E  2F6F 005E 0024           move.l     [A7 + 0x24], [A7 + 0x5E]
  1541. 00001144  224B                     movea.l    A1, A3
  1542. 00001146  93E8 0098                sub.l      A1, [A0 + 0x98]
  1543. 0000114A  2F49 0028                move.l     [A7 + 0x28], A1
  1544. 0000114E  204E                     movea.l    A0, A6
  1545. 00001150  91CB                     sub.l      A0, A3
  1546. 00001152  2F48 002C                move.l     [A7 + 0x2C], A0
  1547. 00001156  2F6F 006A 0030           move.l     [A7 + 0x30], [A7 + 0x6A]
  1548. 0000115C  2F6F 006E 0034           move.l     [A7 + 0x34], [A7 + 0x6E]
  1549. 00001162  204B                     movea.l    A0, A3
  1550. 00001164  91CC                     sub.l      A0, A4
  1551. 00001166  2F48 0066                move.l     [A7 + 0x66], A0
  1552. 0000116A  2008                     move.l     D0, A0
  1553. 0000116C  6738                     beq        +0x3A /* 000011A6 */
  1554. 0000116E  4AAD ACFE                tst.l      [A5 - 0x5302]
  1555. 00001172  6732                     beq        +0x34 /* 000011A6 */
  1556. 00001174  42A7                     clr.l      -[A7]
  1557. 00001176  3F07                     move.w     -[A7], D7
  1558. 00001178  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1559. 0000117C  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1560. 00001180  486F 0066                pea.l      [A7 + 0x66]
  1561. 00001184  2F05                     move.l     -[A7], D5
  1562. 00001186  486D ACFA                pea.l      [A5 - 0x5306]
  1563. 0000118A  4EBA 0664                jsr        [PC + 0x664 /* 000017F0 */]
  1564. 0000118E  3F40 0066                move.w     [A7 + 0x66], D0
  1565. 00001192  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1566. 00001196  670E                     beq        +0x10 /* 000011A6 */
  1567. 00001198  302F 0050                move.w     D0, [A7 + 0x50]
  1568. 0000119C  4FEF 0072                lea.l      A7, [A7 + 0x72]
  1569. 000011A0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1570. 000011A4  4E75                     rts
  1571. label000011A6:
  1572. 000011A6  4AAF 002C                tst.l      [A7 + 0x2C]
  1573. 000011AA  6744                     beq        +0x46 /* 000011F0 */
  1574. 000011AC  2045                     movea.l    A0, D5
  1575. 000011AE  42A8 00E8                clr.l      [A0 + 0xE8]
  1576. 000011B2  42A7                     clr.l      -[A7]
  1577. 000011B4  302F 005A                move.w     D0, [A7 + 0x5A]
  1578. 000011B8  48C0                     ext.l      D0
  1579. 000011BA  3207                     move.w     D1, D7
  1580. 000011BC  48C1                     ext.l      D1
  1581. 000011BE  9280                     sub.l      D1, D0
  1582. 000011C0  3F01                     move.w     -[A7], D1
  1583. 000011C2  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1584. 000011C6  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1585. 000011CA  486F 002C                pea.l      [A7 + 0x2C]
  1586. 000011CE  2F05                     move.l     -[A7], D5
  1587. 000011D0  486D ACFA                pea.l      [A5 - 0x5306]
  1588. 000011D4  4EBA 061A                jsr        [PC + 0x61A /* 000017F0 */]
  1589. 000011D8  3F40 0066                move.w     [A7 + 0x66], D0
  1590. 000011DC  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1591. 000011E0  670E                     beq        +0x10 /* 000011F0 */
  1592. 000011E2  302F 0050                move.w     D0, [A7 + 0x50]
  1593. 000011E6  4FEF 0072                lea.l      A7, [A7 + 0x72]
  1594. 000011EA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1595. 000011EE  4E75                     rts
  1596. label000011F0:
  1597. 000011F0  4AAF 0066                tst.l      [A7 + 0x66]
  1598. 000011F4  6614                     bne        +0x16 /* 0000120A */
  1599. 000011F6  7000                     moveq.l    D0, 0x00
  1600. 000011F8  4FEF 0072                lea.l      A7, [A7 + 0x72]
  1601. 000011FC  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1602. 00001200  4E75                     rts
  1603. label00001202:
  1604. 00001202  204E                     movea.l    A0, A6
  1605. 00001204  91CC                     sub.l      A0, A4
  1606. 00001206  2F48 0066                move.l     [A7 + 0x66], A0
  1607. label0000120A:
  1608. 0000120A  4AAF 0066                tst.l      [A7 + 0x66]
  1609. 0000120E  672A                     beq        +0x2C /* 0000123A */
  1610. 00001210  2045                     movea.l    A0, D5
  1611. 00001212  42A8 00E8                clr.l      [A0 + 0xE8]
  1612. 00001216  42A7                     clr.l      -[A7]
  1613. 00001218  3F07                     move.w     -[A7], D7
  1614. 0000121A  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1615. 0000121E  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1616. 00001222  486F 0066                pea.l      [A7 + 0x66]
  1617. 00001226  2F05                     move.l     -[A7], D5
  1618. 00001228  486D AD06                pea.l      [A5 - 0x52FA]
  1619. 0000122C  4EBA 05C2                jsr        [PC + 0x5C2 /* 000017F0 */]
  1620. 00001230  4FEF 0088                lea.l      A7, [A7 + 0x88]
  1621. 00001234  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1622. 00001238  4E75                     rts
  1623. label0000123A:
  1624. 0000123A  7000                     moveq.l    D0, 0x00
  1625. 0000123C  4FEF 0072                lea.l      A7, [A7 + 0x72]
  1626. 00001240  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1627. 00001244  4E75                     rts
  1628. fn00001246:
  1629. 00001246  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  1630. 0000124A  4FEF FFDE                lea.l      A7, [A7 - 0x22]
  1631. 0000124E  246F 003A                movea.l    A2, [A7 + 0x3A]
  1632. 00001252  266F 0048                movea.l    A3, [A7 + 0x48]
  1633. 00001256  486F 0004                pea.l      [A7 + 0x4]
  1634. 0000125A  42A7                     clr.l      -[A7]
  1635. 0000125C  42A7                     clr.l      -[A7]
  1636. 0000125E  486F 000C                pea.l      [A7 + 0xC]
  1637. 00001262  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1638. 00001266  2F28 0012                move.l     -[A7], [A0 + 0x12]
  1639. 0000126A  3F2A 0112                move.w     -[A7], [A2 + 0x112]
  1640. 0000126E  4EAD DC70                jsr        [A5 - 0x2390]
  1641. 00001272  3800                     move.w     D4, D0
  1642. 00001274  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1643. 00001278  6712                     beq        +0x14 /* 0000128C */
  1644. 0000127A  7016                     moveq.l    D0, 0x16
  1645. 0000127C  D1AA 00B0                add.l      [A2 + 0xB0], D0
  1646. 00001280  3004                     move.w     D0, D4
  1647. 00001282  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1648. 00001286  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1649. 0000128A  4E75                     rts
  1650. label0000128C:
  1651. 0000128C  302F 0006                move.w     D0, [A7 + 0x6]
  1652. 00001290  48C0                     ext.l      D0
  1653. 00001292  362F 000A                move.w     D3, [A7 + 0xA]
  1654. 00001296  48C3                     ext.l      D3
  1655. 00001298  9680                     sub.l      D3, D0
  1656. 0000129A  302F 0004                move.w     D0, [A7 + 0x4]
  1657. 0000129E  48C0                     ext.l      D0
  1658. 000012A0  3A2F 0008                move.w     D5, [A7 + 0x8]
  1659. 000012A4  48C5                     ext.l      D5
  1660. 000012A6  9A80                     sub.l      D5, D0
  1661. 000012A8  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1662. 000012AC  3F50 000C                move.w     [A7 + 0xC], [A0]
  1663. 000012B0  B653                     cmp.w      D3, [A3]
  1664. 000012B2  6D4C                     blt        +0x4E /* 00001300 */
  1665. 000012B4  206A 00CC                movea.l    A0, [A2 + 0xCC]
  1666. 000012B8  2010                     move.l     D0, [A0]
  1667. 000012BA  0280 0000 0400           andi.l     D0, 0x400
  1668. 000012C0  663E                     bne        +0x40 /* 00001300 */
  1669. 000012C2  4AAD AD0A                tst.l      [A5 - 0x52F6]
  1670. 000012C6  6732                     beq        +0x34 /* 000012FA */
  1671. 000012C8  7001                     moveq.l    D0, 0x01
  1672. 000012CA  2540 00E8                move.l     [A2 + 0xE8], D0
  1673. 000012CE  1F2F 004C                move.b     -[A7], [A7 + 0x4C]
  1674. 000012D2  2F0B                     move.l     -[A7], A3
  1675. 000012D4  2F2F 004A                move.l     -[A7], [A7 + 0x4A]
  1676. 000012D8  2F2F 004A                move.l     -[A7], [A7 + 0x4A]
  1677. 000012DC  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  1678. 000012E0  2F0A                     move.l     -[A7], A2
  1679. 000012E2  4EBA F474                jsr        [PC - 0xB8C /* 00000758 */]
  1680. 000012E6  3800                     move.w     D4, D0
  1681. 000012E8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1682. 000012EC  670C                     beq        +0xE /* 000012FA */
  1683. 000012EE  3004                     move.w     D0, D4
  1684. 000012F0  4FEF 0022                lea.l      A7, [A7 + 0x22]
  1685. 000012F4  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1686. 000012F8  4E75                     rts
  1687. label000012FA:
  1688. 000012FA  3F7C 0008 000C           move.w     [A7 + 0xC], 0x8
  1689. label00001300:
  1690. 00001300  0C6F 0008 000C           cmpi.w     [A7 + 0xC], 0x8
  1691. 00001306  6734                     beq        +0x36 /* 0000133C */
  1692. 00001308  306A 010A                movea.w    A0, [A2 + 0x10A]
  1693. 0000130C  2F48 000E                move.l     [A7 + 0xE], A0
  1694. 00001310  B66A 010C                cmp.w      D3, [A2 + 0x10C]
  1695. 00001314  6F04                     ble        +0x6 /* 0000131A */
  1696. 00001316  3543 010C                move.w     [A2 + 0x10C], D3
  1697. label0000131A:
  1698. 0000131A  DB6A 010A                add.w      [A2 + 0x10A], D5
  1699. 0000131E  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1700. 00001322  0C50 0009                cmpi.w     [A0], 0x9 /* '\t' */
  1701. 00001326  660A                     bne        +0xC /* 00001332 */
  1702. 00001328  3543 010E                move.w     [A2 + 0x10E], D3
  1703. 0000132C  426A 0110                clr.w      [A2 + 0x110]
  1704. 00001330  600E                     bra        +0x10 /* 00001340 */
  1705. label00001332:
  1706. 00001332  426A 010E                clr.w      [A2 + 0x10E]
  1707. 00001336  3543 0110                move.w     [A2 + 0x110], D3
  1708. 0000133A  6004                     bra        +0x6 /* 00001340 */
  1709. label0000133C:
  1710. 0000133C  42AF 000E                clr.l      [A7 + 0xE]
  1711. label00001340:
  1712. 00001340  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1713. 00001344  2F68 0012 001E           move.l     [A7 + 0x1E], [A0 + 0x12]
  1714. 0000134A  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1715. 0000134E  2F68 000E 001A           move.l     [A7 + 0x1A], [A0 + 0xE]
  1716. 00001354  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1717. 00001358  2F68 0006 0012           move.l     [A7 + 0x12], [A0 + 0x6]
  1718. 0000135E  7016                     moveq.l    D0, 0x16
  1719. 00001360  D1AA 00B0                add.l      [A2 + 0xB0], D0
  1720. 00001364  9753                     sub.w      [A3], D3
  1721. 00001366  42AA 00F0                clr.l      [A2 + 0xF0]
  1722. 0000136A  7002                     moveq.l    D0, 0x02
  1723. 0000136C  B0AD ACC0                cmp.l      D0, [A5 - 0x5340]
  1724. 00001370  57C0                     seq        D0
  1725. 00001372  4400                     neg.b      D0
  1726. 00001374  4880                     ext.w      D0
  1727. 00001376  48C0                     ext.l      D0
  1728. 00001378  2F00                     move.l     -[A7], D0
  1729. 0000137A  3F03                     move.w     -[A7], D3
  1730. 0000137C  3F05                     move.w     -[A7], D5
  1731. 0000137E  4267                     clr.w      -[A7]
  1732. 00001380  486F 0016                pea.l      [A7 + 0x16]
  1733. 00001384  2F0A                     move.l     -[A7], A2
  1734. 00001386  486D ACFA                pea.l      [A5 - 0x5306]
  1735. 0000138A  4EBA 0464                jsr        [PC + 0x464 /* 000017F0 */]
  1736. 0000138E  4FEF 0038                lea.l      A7, [A7 + 0x38]
  1737. 00001392  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  1738. 00001396  4E75                     rts
  1739. fn00001398:
  1740. 00001398  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1741. 0000139C  4FEF FFDA                lea.l      A7, [A7 - 0x26]
  1742. 000013A0  246F 0050                movea.l    A2, [A7 + 0x50]
  1743. 000013A4  3E2F 0054                move.w     D7, [A7 + 0x54]
  1744. 000013A8  286F 0056                movea.l    A4, [A7 + 0x56]
  1745. 000013AC  2C6F 005A                movea.l    A6, [A7 + 0x5A]
  1746. 000013B0  266F 005E                movea.l    A3, [A7 + 0x5E]
  1747. 000013B4  1C2F 0062                move.b     D6, [A7 + 0x62]
  1748. 000013B8  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1749. 000013BC  3A28 0014                move.w     D5, [A0 + 0x14]
  1750. 000013C0  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1751. 000013C4  2828 0002                move.l     D4, [A0 + 0x2]
  1752. 000013C8  486F 0006                pea.l      [A7 + 0x6]
  1753. 000013CC  A874                     syscall    GetPort
  1754. 000013CE  206F 0006                movea.l    A0, [A7 + 0x6]
  1755. 000013D2  2EA8 0068                move.l     [A7], [A0 + 0x68]
  1756. 000013D6  42A8 0068                clr.l      [A0 + 0x68]
  1757. 000013DA  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1758. 000013DE  2F68 0006 0016           move.l     [A7 + 0x16], [A0 + 0x6]
  1759. 000013E4  4267                     clr.w      -[A7]
  1760. 000013E6  3F14                     move.w     -[A7], [A4]
  1761. 000013E8  A893                     syscall    MoveTo
  1762. 000013EA  486F 000C                pea.l      [A7 + 0xC]
  1763. 000013EE  2F2A 00F8                move.l     -[A7], [A2 + 0xF8]
  1764. 000013F2  3F05                     move.w     -[A7], D5
  1765. 000013F4  2F04                     move.l     -[A7], D4
  1766. 000013F6  2F0A                     move.l     -[A7], A2
  1767. 000013F8  3F2F 0060                move.w     -[A7], [A7 + 0x60]
  1768. 000013FC  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  1769. 00001400  4EAD E370                jsr        [A5 - 0x1C90]
  1770. 00001404  3600                     move.w     D3, D0
  1771. 00001406  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1772. 0000140A  666C                     bne        +0x6E /* 00001478 */
  1773. 0000140C  486F 0004                pea.l      [A7 + 0x4]
  1774. 00001410  486F 000E                pea.l      [A7 + 0xE]
  1775. 00001414  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  1776. 00001418  4EAD E3A0                jsr        [A5 - 0x1C60]
  1777. 0000141C  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1778. 00001420  3F50 001C                move.w     [A7 + 0x1C], [A0]
  1779. 00001424  2F6F 0018 002E           move.l     [A7 + 0x2E], [A7 + 0x18]
  1780. 0000142A  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1781. 0000142E  2F68 0002 001E           move.l     [A7 + 0x1E], [A0 + 0x2]
  1782. 00001434  4AAD AD0A                tst.l      [A5 - 0x52F6]
  1783. 00001438  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1784. 0000143C  673A                     beq        +0x3C /* 00001478 */
  1785. 0000143E  302F 000A                move.w     D0, [A7 + 0xA]
  1786. 00001442  B053                     cmp.w      D0, [A3]
  1787. 00001444  6D32                     blt        +0x34 /* 00001478 */
  1788. 00001446  206A 00CC                movea.l    A0, [A2 + 0xCC]
  1789. 0000144A  2010                     move.l     D0, [A0]
  1790. 0000144C  0280 0000 0400           andi.l     D0, 0x400
  1791. 00001452  6624                     bne        +0x26 /* 00001478 */
  1792. 00001454  7001                     moveq.l    D0, 0x01
  1793. 00001456  2540 00E8                move.l     [A2 + 0xE8], D0
  1794. 0000145A  1F06                     move.b     -[A7], D6
  1795. 0000145C  2F0B                     move.l     -[A7], A3
  1796. 0000145E  2F0E                     move.l     -[A7], A6
  1797. 00001460  2F0C                     move.l     -[A7], A4
  1798. 00001462  3F07                     move.w     -[A7], D7
  1799. 00001464  2F0A                     move.l     -[A7], A2
  1800. 00001466  4EBA F2F0                jsr        [PC - 0xD10 /* 00000758 */]
  1801. 0000146A  3600                     move.w     D3, D0
  1802. 0000146C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1803. 00001470  6606                     bne        +0x8 /* 00001478 */
  1804. 00001472  3F7C 000F 0010           move.w     [A7 + 0x10], 0xF
  1805. label00001478:
  1806. 00001478  206F 0006                movea.l    A0, [A7 + 0x6]
  1807. 0000147C  2157 0068                move.l     [A0 + 0x68], [A7]
  1808. 00001480  4A43                     tst.w      D3
  1809. 00001482  670C                     beq        +0xE /* 00001490 */
  1810. 00001484  3003                     move.w     D0, D3
  1811. 00001486  4FEF 0026                lea.l      A7, [A7 + 0x26]
  1812. 0000148A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1813. 0000148E  4E75                     rts
  1814. label00001490:
  1815. 00001490  0C6F 000F 0010           cmpi.w     [A7 + 0x10], 0xF
  1816. 00001496  6742                     beq        +0x44 /* 000014DA */
  1817. 00001498  306A 010A                movea.w    A0, [A2 + 0x10A]
  1818. 0000149C  2F48 0012                move.l     [A7 + 0x12], A0
  1819. 000014A0  302F 000A                move.w     D0, [A7 + 0xA]
  1820. 000014A4  B06A 010C                cmp.w      D0, [A2 + 0x10C]
  1821. 000014A8  6F06                     ble        +0x8 /* 000014B0 */
  1822. 000014AA  356F 000A 010C           move.w     [A2 + 0x10C], [A7 + 0xA]
  1823. label000014B0:
  1824. 000014B0  302F 0004                move.w     D0, [A7 + 0x4]
  1825. 000014B4  D16A 010A                add.w      [A2 + 0x10A], D0
  1826. 000014B8  206A 00B0                movea.l    A0, [A2 + 0xB0]
  1827. 000014BC  0C50 0011                cmpi.w     [A0], 0x11
  1828. 000014C0  660C                     bne        +0xE /* 000014CE */
  1829. 000014C2  356F 000A 010E           move.w     [A2 + 0x10E], [A7 + 0xA]
  1830. 000014C8  426A 0110                clr.w      [A2 + 0x110]
  1831. 000014CC  6010                     bra        +0x12 /* 000014DE */
  1832. label000014CE:
  1833. 000014CE  426A 010E                clr.w      [A2 + 0x10E]
  1834. 000014D2  356F 000A 0110           move.w     [A2 + 0x110], [A7 + 0xA]
  1835. 000014D8  6004                     bra        +0x6 /* 000014DE */
  1836. label000014DA:
  1837. 000014DA  42AF 0012                clr.l      [A7 + 0x12]
  1838. label000014DE:
  1839. 000014DE  7016                     moveq.l    D0, 0x16
  1840. 000014E0  D1AA 00B0                add.l      [A2 + 0xB0], D0
  1841. 000014E4  302F 000A                move.w     D0, [A7 + 0xA]
  1842. 000014E8  9153                     sub.w      [A3], D0
  1843. 000014EA  42AA 00F0                clr.l      [A2 + 0xF0]
  1844. 000014EE  7002                     moveq.l    D0, 0x02
  1845. 000014F0  B0AD ACC0                cmp.l      D0, [A5 - 0x5340]
  1846. 000014F4  57C0                     seq        D0
  1847. 000014F6  4400                     neg.b      D0
  1848. 000014F8  4880                     ext.w      D0
  1849. 000014FA  48C0                     ext.l      D0
  1850. 000014FC  2F00                     move.l     -[A7], D0
  1851. 000014FE  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  1852. 00001502  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  1853. 00001506  4267                     clr.w      -[A7]
  1854. 00001508  486F 001A                pea.l      [A7 + 0x1A]
  1855. 0000150C  2F0A                     move.l     -[A7], A2
  1856. 0000150E  486D ACFA                pea.l      [A5 - 0x5306]
  1857. 00001512  4EBA 02DC                jsr        [PC + 0x2DC /* 000017F0 */]
  1858. 00001516  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  1859. 0000151A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1860. 0000151E  4E75                     rts
  1861. fn00001520:
  1862. 00001520  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1863. 00001524  4FEF FEFC                lea.l      A7, [A7 - 0x104]
  1864. 00001528  266F 012C                movea.l    A3, [A7 + 0x12C]
  1865. 0000152C  2E2F 013C                move.l     D7, [A7 + 0x13C]
  1866. 00001530  2C2F 0140                move.l     D6, [A7 + 0x140]
  1867. 00001534  246F 0130                movea.l    A2, [A7 + 0x130]
  1868. 00001538  202A 000E                move.l     D0, [A2 + 0xE]
  1869. 0000153C  E988                     lsl        D0, 4
  1870. 0000153E  246B 00A0                movea.l    A2, [A3 + 0xA0]
  1871. 00001542  D5C0                     add.l      A2, D0
  1872. 00001544  B5ED ACF2                cmpa.l     A2, [A5 - 0x530E]
  1873. 00001548  6700 0176                beq        +0x178 /* 000016C0 */
  1874. 0000154C  4AAB 00AC                tst.l      [A3 + 0xAC]
  1875. 00001550  6750                     beq        +0x52 /* 000015A2 */
  1876. 00001552  286B 00AC                movea.l    A4, [A3 + 0xAC]
  1877. 00001556  D9EA 000A                add.l      A4, [A2 + 0xA]
  1878. 0000155A  4DEF 0102                lea.l      A6, [A7 + 0x102]
  1879. 0000155E  1CDC                     move.b     [A6]+, [A4]+
  1880. 00001560  1C94                     move.b     [A6], [A4]
  1881. 00001562  4A6F 0102                tst.w      [A7 + 0x102]
  1882. 00001566  6640                     bne        +0x42 /* 000015A8 */
  1883. 00001568  206B 00A8                movea.l    A0, [A3 + 0xA8]
  1884. 0000156C  202A 000A                move.l     D0, [A2 + 0xA]
  1885. 00001570  4870 0800                pea.l      [A0 + D0]
  1886. 00001574  486F 0004                pea.l      [A7 + 0x4]
  1887. 00001578  4EAD DDC8                jsr        [A5 - 0x2238]
  1888. 0000157C  486F 010A                pea.l      [A7 + 0x10A]
  1889. 00001580  486F 000C                pea.l      [A7 + 0xC]
  1890. 00001584  4EBA 1E42                jsr        [PC + 0x1E42 /* 000033C8 */]
  1891. 00001588  526F 0112                addq.w     [A7 + 0x112], 1
  1892. 0000158C  49EF 0112                lea.l      A4, [A7 + 0x112]
  1893. 00001590  2C6B 00AC                movea.l    A6, [A3 + 0xAC]
  1894. 00001594  DDEA 000A                add.l      A6, [A2 + 0xA]
  1895. 00001598  1CDC                     move.b     [A6]+, [A4]+
  1896. 0000159A  1C94                     move.b     [A6], [A4]
  1897. 0000159C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1898. 000015A0  6006                     bra        +0x8 /* 000015A8 */
  1899. label000015A2:
  1900. 000015A2  3F7C 0002 0102           move.w     [A7 + 0x102], 0x2
  1901. label000015A8:
  1902. 000015A8  302F 0102                move.w     D0, [A7 + 0x102]
  1903. 000015AC  48C0                     ext.l      D0
  1904. 000015AE  5380                     subq.l     D0, 1
  1905. 000015B0  3F00                     move.w     -[A7], D0
  1906. 000015B2  A887                     syscall    TextFont
  1907. 000015B4  082A 0000 0007           btst.b     [A2 + 0x7], 0x0
  1908. 000015BA  6720                     beq        +0x22 /* 000015DC */
  1909. 000015BC  486F 0100                pea.l      [A7 + 0x100]
  1910. 000015C0  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  1911. 000015C4  302F 0108                move.w     D0, [A7 + 0x108]
  1912. 000015C8  48C0                     ext.l      D0
  1913. 000015CA  5380                     subq.l     D0, 1
  1914. 000015CC  3F00                     move.w     -[A7], D0
  1915. 000015CE  4EBA 1228                jsr        [PC + 0x1228 /* 000027F8 */]
  1916. 000015D2  3F2F 0108                move.w     -[A7], [A7 + 0x108]
  1917. 000015D6  A88A                     syscall    TextSize
  1918. 000015D8  504F                     addq.w     A7, 8
  1919. 000015DA  600C                     bra        +0xE /* 000015E8 */
  1920. label000015DC:
  1921. 000015DC  3F6A 000E 0100           move.w     [A7 + 0x100], [A2 + 0xE]
  1922. 000015E2  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  1923. 000015E6  A88A                     syscall    TextSize
  1924. label000015E8:
  1925. 000015E8  262A 0006                move.l     D3, [A2 + 0x6]
  1926. 000015EC  727F                     moveq.l    D1, 0x7F
  1927. 000015EE  C681                     and.l      D3, D1
  1928. 000015F0  42AD ACD8                clr.l      [A5 - 0x5328]
  1929. 000015F4  42AD ACDC                clr.l      [A5 - 0x5324]
  1930. 000015F8  082A 0007 0009           btst.b     [A2 + 0x9], 0x7
  1931. 000015FE  6720                     beq        +0x22 /* 00001620 */
  1932. 00001600  206B 00BC                movea.l    A0, [A3 + 0xBC]
  1933. 00001604  3810                     move.w     D4, [A0]
  1934. 00001606  48C4                     ext.l      D4
  1935. 00001608  2004                     move.l     D0, D4
  1936. 0000160A  0280 FFFF FF7F           andi.l     D0, 0xFFFFFF7F
  1937. 00001610  8640                     or.w       D3, D0
  1938. 00001612  0804 0007                btst.b     D4, 0x7
  1939. 00001616  672E                     beq        +0x30 /* 00001646 */
  1940. 00001618  7001                     moveq.l    D0, 0x01
  1941. 0000161A  2B40 ACDC                move.l     [A5 - 0x5324], D0
  1942. 0000161E  6026                     bra        +0x28 /* 00001646 */
  1943. label00001620:
  1944. 00001620  082A 0000 0008           btst.b     [A2 + 0x8], 0x0
  1945. 00001626  671E                     beq        +0x20 /* 00001646 */
  1946. 00001628  206B 00C0                movea.l    A0, [A3 + 0xC0]
  1947. 0000162C  3A10                     move.w     D5, [A0]
  1948. 0000162E  48C5                     ext.l      D5
  1949. 00001630  2005                     move.l     D0, D5
  1950. 00001632  0280 FFFF FF7F           andi.l     D0, 0xFFFFFF7F
  1951. 00001638  8640                     or.w       D3, D0
  1952. 0000163A  0805 0007                btst.b     D5, 0x7
  1953. 0000163E  6706                     beq        +0x8 /* 00001646 */
  1954. 00001640  7001                     moveq.l    D0, 0x01
  1955. 00001642  2B40 ACDC                move.l     [A5 - 0x5324], D0
  1956. label00001646:
  1957. 00001646  3F03                     move.w     -[A7], D3
  1958. 00001648  A888                     syscall    TextFace
  1959. 0000164A  7000                     moveq.l    D0, 0x00
  1960. 0000164C  102D 81A0                move.b     D0, [A5 - 0x7E60]
  1961. 00001650  7202                     moveq.l    D1, 0x02
  1962. 00001652  B081                     cmp.l      D0, D1
  1963. 00001654  6D24                     blt        +0x26 /* 0000167A */
  1964. 00001656  082A 0007 0009           btst.b     [A2 + 0x9], 0x7
  1965. 0000165C  6708                     beq        +0xA /* 00001666 */
  1966. 0000165E  2F2B 00B4                move.l     -[A7], [A3 + 0xB4]
  1967. 00001662  AA14                     syscall    RGBForeColor
  1968. 00001664  6014                     bra        +0x16 /* 0000167A */
  1969. label00001666:
  1970. 00001666  082A 0000 0008           btst.b     [A2 + 0x8], 0x0
  1971. 0000166C  6708                     beq        +0xA /* 00001676 */
  1972. 0000166E  2F2B 00B8                move.l     -[A7], [A3 + 0xB8]
  1973. 00001672  AA14                     syscall    RGBForeColor
  1974. 00001674  6004                     bra        +0x6 /* 0000167A */
  1975. label00001676:
  1976. 00001676  2F0A                     move.l     -[A7], A2
  1977. 00001678  AA14                     syscall    RGBForeColor
  1978. label0000167A:
  1979. 0000167A  486D ACE0                pea.l      [A5 - 0x5320]
  1980. 0000167E  486D ACEA                pea.l      [A5 - 0x5316]
  1981. 00001682  486D ACEE                pea.l      [A5 - 0x5312]
  1982. 00001686  486D ACF0                pea.l      [A5 - 0x5310]
  1983. 0000168A  3F03                     move.w     -[A7], D3
  1984. 0000168C  3F2F 0112                move.w     -[A7], [A7 + 0x112]
  1985. 00001690  302F 0116                move.w     D0, [A7 + 0x116]
  1986. 00001694  48C0                     ext.l      D0
  1987. 00001696  5380                     subq.l     D0, 1
  1988. 00001698  3F00                     move.w     -[A7], D0
  1989. 0000169A  4EBA 1212                jsr        [PC + 0x1212 /* 000028AE */]
  1990. 0000169E  3800                     move.w     D4, D0
  1991. 000016A0  3003                     move.w     D0, D3
  1992. 000016A2  7204                     moveq.l    D1, 0x04
  1993. 000016A4  C081                     and.l      D0, D1
  1994. 000016A6  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1995. 000016AA  670E                     beq        +0x10 /* 000016BA */
  1996. 000016AC  302D ACE8                move.w     D0, [A5 - 0x5318]
  1997. 000016B0  C081                     and.l      D0, D1
  1998. 000016B2  6606                     bne        +0x8 /* 000016BA */
  1999. 000016B4  7001                     moveq.l    D0, 0x01
  2000. 000016B6  2B40 ACD8                move.l     [A5 - 0x5328], D0
  2001. label000016BA:
  2002. 000016BA  2B4A ACF2                move.l     [A5 - 0x530E], A2
  2003. 000016BE  6002                     bra        +0x4 /* 000016C2 */
  2004. label000016C0:
  2005. 000016C0  7800                     moveq.l    D4, 0x00
  2006. label000016C2:
  2007. 000016C2  4AAF 0134                tst.l      [A7 + 0x134]
  2008. 000016C6  6708                     beq        +0xA /* 000016D0 */
  2009. 000016C8  206F 0134                movea.l    A0, [A7 + 0x134]
  2010. 000016CC  30AD ACF0                move.w     [A0], [A5 - 0x5310]
  2011. label000016D0:
  2012. 000016D0  4AAF 0138                tst.l      [A7 + 0x138]
  2013. 000016D4  6708                     beq        +0xA /* 000016DE */
  2014. 000016D6  206F 0138                movea.l    A0, [A7 + 0x138]
  2015. 000016DA  30AD ACEE                move.w     [A0], [A5 - 0x5312]
  2016. label000016DE:
  2017. 000016DE  4A87                     tst.l      D7
  2018. 000016E0  6706                     beq        +0x8 /* 000016E8 */
  2019. 000016E2  2047                     movea.l    A0, D7
  2020. 000016E4  20AD ACEA                move.l     [A0], [A5 - 0x5316]
  2021. label000016E8:
  2022. 000016E8  4A86                     tst.l      D6
  2023. 000016EA  6712                     beq        +0x14 /* 000016FE */
  2024. 000016EC  2046                     movea.l    A0, D6
  2025. 000016EE  20AD ACE0                move.l     [A0], [A5 - 0x5320]
  2026. 000016F2  216D ACE4 0004           move.l     [A0 + 0x4], [A5 - 0x531C]
  2027. 000016F8  316D ACE8 0008           move.w     [A0 + 0x8], [A5 - 0x5318]
  2028. label000016FE:
  2029. 000016FE  3004                     move.w     D0, D4
  2030. 00001700  4FEF 0104                lea.l      A7, [A7 + 0x104]
  2031. 00001704  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2032. 00001708  4E75                     rts
  2033. fn0000170A:
  2034. 0000170A  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  2035. 0000170E  2C6F 0020                movea.l    A6, [A7 + 0x20]
  2036. 00001712  2A2F 0024                move.l     D5, [A7 + 0x24]
  2037. 00001716  7800                     moveq.l    D4, 0x00
  2038. 00001718  4AAD ACFA                tst.l      [A5 - 0x5306]
  2039. 0000171C  6608                     bne        +0xA /* 00001726 */
  2040. 0000171E  7000                     moveq.l    D0, 0x00
  2041. 00001720  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2042. 00001724  4E75                     rts
  2043. label00001726:
  2044. 00001726  206D ACFA                movea.l    A0, [A5 - 0x5306]
  2045. 0000172A  A029                     syscall    HLock
  2046. 0000172C  206D ACFA                movea.l    A0, [A5 - 0x5306]
  2047. 00001730  2450                     movea.l    A2, [A0]
  2048. 00001732  6000 0094                bra        +0x96 /* 000017C8 */
  2049. label00001736:
  2050. 00001736  4AAD AD0A                tst.l      [A5 - 0x52F6]
  2051. 0000173A  6756                     beq        +0x58 /* 00001792 */
  2052. 0000173C  202D AD0A                move.l     D0, [A5 - 0x52F6]
  2053. 00001740  5380                     subq.l     D0, 1
  2054. 00001742  EB88                     lsl        D0, 5
  2055. 00001744  206D AD06                movea.l    A0, [A5 - 0x52FA]
  2056. 00001748  2050                     movea.l    A0, [A0]
  2057. 0000174A  D1C0                     add.l      A0, D0
  2058. 0000174C  2608                     move.l     D3, A0
  2059. 0000174E  284A                     movea.l    A4, A2
  2060. 00001750  2643                     movea.l    A3, D3
  2061. 00001752  3014                     move.w     D0, [A4]
  2062. 00001754  B053                     cmp.w      D0, [A3]
  2063. 00001756  663A                     bne        +0x3C /* 00001792 */
  2064. 00001758  202C 0002                move.l     D0, [A4 + 0x2]
  2065. 0000175C  B0AB 0002                cmp.l      D0, [A3 + 0x2]
  2066. 00001760  6630                     bne        +0x32 /* 00001792 */
  2067. 00001762  202C 000E                move.l     D0, [A4 + 0xE]
  2068. 00001766  B0AB 000E                cmp.l      D0, [A3 + 0xE]
  2069. 0000176A  6626                     bne        +0x28 /* 00001792 */
  2070. 0000176C  202C 0012                move.l     D0, [A4 + 0x12]
  2071. 00001770  B0AB 0012                cmp.l      D0, [A3 + 0x12]
  2072. 00001774  661C                     bne        +0x1E /* 00001792 */
  2073. 00001776  202B 0006                move.l     D0, [A3 + 0x6]
  2074. 0000177A  D0AB 000A                add.l      D0, [A3 + 0xA]
  2075. 0000177E  B0AC 0006                cmp.l      D0, [A4 + 0x6]
  2076. 00001782  660E                     bne        +0x10 /* 00001792 */
  2077. 00001784  202C 000A                move.l     D0, [A4 + 0xA]
  2078. 00001788  D1AB 000A                add.l      [A3 + 0xA], D0
  2079. 0000178C  7020                     moveq.l    D0, 0x20
  2080. 0000178E  D5C0                     add.l      A2, D0
  2081. 00001790  6036                     bra        +0x38 /* 000017C8 */
  2082. label00001792:
  2083. 00001792  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  2084. 00001796  3F2A 001A                move.w     -[A7], [A2 + 0x1A]
  2085. 0000179A  3F2A 0018                move.w     -[A7], [A2 + 0x18]
  2086. 0000179E  3F2A 0016                move.w     -[A7], [A2 + 0x16]
  2087. 000017A2  2F0A                     move.l     -[A7], A2
  2088. 000017A4  2F0E                     move.l     -[A7], A6
  2089. 000017A6  486D AD06                pea.l      [A5 - 0x52FA]
  2090. 000017AA  4EBA 0044                jsr        [PC + 0x44 /* 000017F0 */]
  2091. 000017AE  3800                     move.w     D4, D0
  2092. 000017B0  4FEF 0016                lea.l      A7, [A7 + 0x16]
  2093. 000017B4  6620                     bne        +0x22 /* 000017D6 */
  2094. 000017B6  4AAE 00F0                tst.l      [A6 + 0xF0]
  2095. 000017BA  6708                     beq        +0xA /* 000017C4 */
  2096. 000017BC  2045                     movea.l    A0, D5
  2097. 000017BE  302A 001A                move.w     D0, [A2 + 0x1A]
  2098. 000017C2  9150                     sub.w      [A0], D0
  2099. label000017C4:
  2100. 000017C4  7020                     moveq.l    D0, 0x20
  2101. 000017C6  D5C0                     add.l      A2, D0
  2102. label000017C8:
  2103. 000017C8  202D ACFE                move.l     D0, [A5 - 0x5302]
  2104. 000017CC  53AD ACFE                subq.l     [A5 - 0x5302], 1
  2105. 000017D0  4A80                     tst.l      D0
  2106. 000017D2  6600 FF62                bne        -0x9C /* 00001736 */
  2107. label000017D6:
  2108. 000017D6  206D ACFA                movea.l    A0, [A5 - 0x5306]
  2109. 000017DA  A02A                     syscall    HUnlock
  2110. 000017DC  42AD ACFE                clr.l      [A5 - 0x5302]
  2111. 000017E0  42AE 00F0                clr.l      [A6 + 0xF0]
  2112. 000017E4  42AE 00E8                clr.l      [A6 + 0xE8]
  2113. 000017E8  3004                     move.w     D0, D4
  2114. 000017EA  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2115. 000017EE  4E75                     rts
  2116. fn000017F0:
  2117. 000017F0  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  2118. 000017F4  266F 0018                movea.l    A3, [A7 + 0x18]
  2119. 000017F8  286F 0020                movea.l    A4, [A7 + 0x20]
  2120. 000017FC  382F 0024                move.w     D4, [A7 + 0x24]
  2121. 00001800  7600                     moveq.l    D3, 0x00
  2122. 00001802  202B 0004                move.l     D0, [A3 + 0x4]
  2123. 00001806  5280                     addq.l     D0, 1
  2124. 00001808  B0AB 0008                cmp.l      D0, [A3 + 0x8]
  2125. 0000180C  6D60                     blt        +0x62 /* 0000186E */
  2126. 0000180E  4A93                     tst.l      [A3]
  2127. 00001810  670E                     beq        +0x10 /* 00001820 */
  2128. 00001812  2053                     movea.l    A0, [A3]
  2129. 00001814  7014                     moveq.l    D0, 0x14
  2130. 00001816  D0AB 0008                add.l      D0, [A3 + 0x8]
  2131. 0000181A  EB88                     lsl        D0, 5
  2132. 0000181C  A024                     syscall    SetHandleSize
  2133. 0000181E  600A                     bra        +0xC /* 0000182A */
  2134. label00001820:
  2135. 00001820  203C 0000 0280           move.l     D0, 0x280
  2136. 00001826  A122                     syscall    NewHandle, flags=1
  2137. 00001828  2688                     move.l     [A3], A0
  2138. label0000182A:
  2139. 0000182A  554F                     subq.w     A7, 2
  2140. 0000182C  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2141. 00001830  301F                     move.w     D0, [A7]+
  2142. 00001832  3600                     move.w     D3, D0
  2143. 00001834  6638                     bne        +0x3A /* 0000186E */
  2144. 00001836  41ED AD06                lea.l      A0, [A5 - 0x52FA]
  2145. 0000183A  B7C8                     cmpa.l     A3, A0
  2146. 0000183C  662A                     bne        +0x2C /* 00001868 */
  2147. 0000183E  4AAD ACF6                tst.l      [A5 - 0x530A]
  2148. 00001842  6710                     beq        +0x12 /* 00001854 */
  2149. 00001844  206D ACF6                movea.l    A0, [A5 - 0x530A]
  2150. 00001848  7014                     moveq.l    D0, 0x14
  2151. 0000184A  D0AB 0008                add.l      D0, [A3 + 0x8]
  2152. 0000184E  D080                     add.l      D0, D0
  2153. 00001850  A024                     syscall    SetHandleSize
  2154. 00001852  6008                     bra        +0xA /* 0000185C */
  2155. label00001854:
  2156. 00001854  7028                     moveq.l    D0, 0x28
  2157. 00001856  A122                     syscall    NewHandle, flags=1
  2158. 00001858  2B48 ACF6                move.l     [A5 - 0x530A], A0
  2159. label0000185C:
  2160. 0000185C  554F                     subq.w     A7, 2
  2161. 0000185E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2162. 00001862  301F                     move.w     D0, [A7]+
  2163. 00001864  3600                     move.w     D3, D0
  2164. 00001866  6606                     bne        +0x8 /* 0000186E */
  2165. label00001868:
  2166. 00001868  7014                     moveq.l    D0, 0x14
  2167. 0000186A  D1AB 0008                add.l      [A3 + 0x8], D0
  2168. label0000186E:
  2169. 0000186E  4A43                     tst.w      D3
  2170. 00001870  6708                     beq        +0xA /* 0000187A */
  2171. 00001872  3003                     move.w     D0, D3
  2172. 00001874  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  2173. 00001878  4E75                     rts
  2174. label0000187A:
  2175. 0000187A  202B 0004                move.l     D0, [A3 + 0x4]
  2176. 0000187E  EB88                     lsl        D0, 5
  2177. 00001880  2453                     movea.l    A2, [A3]
  2178. 00001882  2452                     movea.l    A2, [A2]
  2179. 00001884  D5C0                     add.l      A2, D0
  2180. 00001886  3544 0016                move.w     [A2 + 0x16], D4
  2181. 0000188A  4A54                     tst.w      [A4]
  2182. 0000188C  6718                     beq        +0x1A /* 000018A6 */
  2183. 0000188E  0C54 0001                cmpi.w     [A4], 0x1
  2184. 00001892  6712                     beq        +0x14 /* 000018A6 */
  2185. 00001894  0C54 0002                cmpi.w     [A4], 0x2
  2186. 00001898  670C                     beq        +0xE /* 000018A6 */
  2187. 0000189A  0C54 0003                cmpi.w     [A4], 0x3
  2188. 0000189E  6706                     beq        +0x8 /* 000018A6 */
  2189. 000018A0  0C54 0004                cmpi.w     [A4], 0x4
  2190. 000018A4  660C                     bne        +0xE /* 000018B2 */
  2191. label000018A6:
  2192. 000018A6  4AAC 000A                tst.l      [A4 + 0xA]
  2193. 000018AA  6606                     bne        +0x8 /* 000018B2 */
  2194. 000018AC  3544 0018                move.w     [A2 + 0x18], D4
  2195. 000018B0  6006                     bra        +0x8 /* 000018B8 */
  2196. label000018B2:
  2197. 000018B2  356F 0026 0018           move.w     [A2 + 0x18], [A7 + 0x26]
  2198. label000018B8:
  2199. 000018B8  41D4                     lea.l      A0, [A4]
  2200. 000018BA  43D2                     lea.l      A1, [A2]
  2201. 000018BC  7004                     moveq.l    D0, 0x04
  2202. label000018BE:
  2203. 000018BE  22D8                     move.l     [A1]+, [A0]+
  2204. 000018C0  51C8 FFFC                dbf        D0, -0x6 /* 000018BE */
  2205. 000018C4  32D8                     move.w     [A1]+, [A0]+
  2206. 000018C6  356F 0028 001A           move.w     [A2 + 0x1A], [A7 + 0x28]
  2207. 000018CC  256F 002A 001C           move.l     [A2 + 0x1C], [A7 + 0x2A]
  2208. 000018D2  41ED AD06                lea.l      A0, [A5 - 0x52FA]
  2209. 000018D6  B7C8                     cmpa.l     A3, A0
  2210. 000018D8  6618                     bne        +0x1A /* 000018F2 */
  2211. 000018DA  4AAD ACF6                tst.l      [A5 - 0x530A]
  2212. 000018DE  6712                     beq        +0x14 /* 000018F2 */
  2213. 000018E0  202B 0004                move.l     D0, [A3 + 0x4]
  2214. 000018E4  D080                     add.l      D0, D0
  2215. 000018E6  246D ACF6                movea.l    A2, [A5 - 0x530A]
  2216. 000018EA  2452                     movea.l    A2, [A2]
  2217. 000018EC  D5C0                     add.l      A2, D0
  2218. 000018EE  34AB 0006                move.w     [A2], [A3 + 0x6]
  2219. label000018F2:
  2220. 000018F2  52AB 0004                addq.l     [A3 + 0x4], 1
  2221. 000018F6  7000                     moveq.l    D0, 0x00
  2222. 000018F8  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  2223. 000018FC  4E75                     rts
  2224. fn000018FE:
  2225. 000018FE  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  2226. 00001902  246F 0018                movea.l    A2, [A7 + 0x18]
  2227. 00001906  266F 001C                movea.l    A3, [A7 + 0x1C]
  2228. 0000190A  286F 0020                movea.l    A4, [A7 + 0x20]
  2229. 0000190E  206A 00CC                movea.l    A0, [A2 + 0xCC]
  2230. 00001912  3828 0014                move.w     D4, [A0 + 0x14]
  2231. 00001916  4A44                     tst.w      D4
  2232. 00001918  6738                     beq        +0x3A /* 00001952 */
  2233. 0000191A  3004                     move.w     D0, D4
  2234. 0000191C  48C0                     ext.l      D0
  2235. 0000191E  4A80                     tst.l      D0
  2236. 00001920  6E0E                     bgt        +0x10 /* 00001930 */
  2237. 00001922  206A 00CC                movea.l    A0, [A2 + 0xCC]
  2238. 00001926  3028 0014                move.w     D0, [A0 + 0x14]
  2239. 0000192A  48C0                     ext.l      D0
  2240. 0000192C  4480                     neg.l      D0
  2241. 0000192E  600A                     bra        +0xC /* 0000193A */
  2242. label00001930:
  2243. 00001930  206A 00CC                movea.l    A0, [A2 + 0xCC]
  2244. 00001934  3028 0014                move.w     D0, [A0 + 0x14]
  2245. 00001938  48C0                     ext.l      D0
  2246. label0000193A:
  2247. 0000193A  3600                     move.w     D3, D0
  2248. 0000193C  B653                     cmp.w      D3, [A3]
  2249. 0000193E  6F12                     ble        +0x14 /* 00001952 */
  2250. 00001940  3013                     move.w     D0, [A3]
  2251. 00001942  48C0                     ext.l      D0
  2252. 00001944  3803                     move.w     D4, D3
  2253. 00001946  48C4                     ext.l      D4
  2254. 00001948  9880                     sub.l      D4, D0
  2255. 0000194A  D953                     add.w      [A3], D4
  2256. 0000194C  200C                     move.l     D0, A4
  2257. 0000194E  6702                     beq        +0x4 /* 00001952 */
  2258. 00001950  D954                     add.w      [A4], D4
  2259. label00001952:
  2260. 00001952  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  2261. 00001956  4E75                     rts
  2262. fn00001958:
  2263. 00001958  2F0A                     move.l     -[A7], A2
  2264. 0000195A  554F                     subq.w     A7, 2
  2265. 0000195C  246F 000A                movea.l    A2, [A7 + 0xA]
  2266. 00001960  4AAA 00E8                tst.l      [A2 + 0xE8]
  2267. 00001964  662A                     bne        +0x2C /* 00001990 */
  2268. 00001966  3EAA 0108                move.w     [A7], [A2 + 0x108]
  2269. 0000196A  4A57                     tst.w      [A7]
  2270. 0000196C  6710                     beq        +0x12 /* 0000197E */
  2271. 0000196E  42A7                     clr.l      -[A7]
  2272. 00001970  486F 0004                pea.l      [A7 + 0x4]
  2273. 00001974  2F0A                     move.l     -[A7], A2
  2274. 00001976  4EBA FF86                jsr        [PC - 0x7A /* 000018FE */]
  2275. 0000197A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2276. label0000197E:
  2277. 0000197E  206F 000E                movea.l    A0, [A7 + 0xE]
  2278. 00001982  3017                     move.w     D0, [A7]
  2279. 00001984  D150                     add.w      [A0], D0
  2280. 00001986  3F17                     move.w     -[A7], [A7]
  2281. 00001988  2F0A                     move.l     -[A7], A2
  2282. 0000198A  4EBA 0A7C                jsr        [PC + 0xA7C /* 00002408 */]
  2283. 0000198E  5C4F                     addq.w     A7, 6
  2284. label00001990:
  2285. 00001990  206F 0012                movea.l    A0, [A7 + 0x12]
  2286. 00001994  4250                     clr.w      [A0]
  2287. 00001996  7000                     moveq.l    D0, 0x00
  2288. 00001998  544F                     addq.w     A7, 2
  2289. 0000199A  245F                     movea.l    A2, [A7]+
  2290. 0000199C  4E75                     rts
  2291. fn0000199E:
  2292. 0000199E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2293. 000019A2  4FEF FFB2                lea.l      A7, [A7 - 0x4E]
  2294. 000019A6  286F 007C                movea.l    A4, [A7 + 0x7C]
  2295. 000019AA  2C6F 0080                movea.l    A6, [A7 + 0x80]
  2296. 000019AE  266F 0076                movea.l    A3, [A7 + 0x76]
  2297. 000019B2  4AAB 0052                tst.l      [A3 + 0x52]
  2298. 000019B6  6608                     bne        +0xA /* 000019C0 */
  2299. 000019B8  206B 00CC                movea.l    A0, [A3 + 0xCC]
  2300. 000019BC  2010                     move.l     D0, [A0]
  2301. 000019BE  6004                     bra        +0x6 /* 000019C4 */
  2302. label000019C0:
  2303. 000019C0  202B 004E                move.l     D0, [A3 + 0x4E]
  2304. label000019C4:
  2305. 000019C4  2F40 0004                move.l     [A7 + 0x4], D0
  2306. 000019C8  42AF 0046                clr.l      [A7 + 0x46]
  2307. 000019CC  42AF 002E                clr.l      [A7 + 0x2E]
  2308. 000019D0  7600                     moveq.l    D3, 0x00
  2309. 000019D2  42AF 000A                clr.l      [A7 + 0xA]
  2310. 000019D6  42AF 000E                clr.l      [A7 + 0xE]
  2311. 000019DA  42AF 0032                clr.l      [A7 + 0x32]
  2312. 000019DE  42AF 003A                clr.l      [A7 + 0x3A]
  2313. 000019E2  426F 0038                clr.w      [A7 + 0x38]
  2314. 000019E6  7A00                     moveq.l    D5, 0x00
  2315. 000019E8  426F 0036                clr.w      [A7 + 0x36]
  2316. 000019EC  7800                     moveq.l    D4, 0x00
  2317. 000019EE  7E00                     moveq.l    D7, 0x00
  2318. 000019F0  302B 010E                move.w     D0, [A3 + 0x10E]
  2319. 000019F4  48C0                     ext.l      D0
  2320. 000019F6  322F 007A                move.w     D1, [A7 + 0x7A]
  2321. 000019FA  48C1                     ext.l      D1
  2322. 000019FC  9280                     sub.l      D1, D0
  2323. 000019FE  3F41 0016                move.w     [A7 + 0x16], D1
  2324. 00001A02  426F 0024                clr.w      [A7 + 0x24]
  2325. 00001A06  42AB 00FC                clr.l      [A3 + 0xFC]
  2326. 00001A0A  4AAD AD0A                tst.l      [A5 - 0x52F6]
  2327. 00001A0E  6706                     beq        +0x8 /* 00001A16 */
  2328. 00001A10  4AAD AD06                tst.l      [A5 - 0x52FA]
  2329. 00001A14  6616                     bne        +0x18 /* 00001A2C */
  2330. label00001A16:
  2331. 00001A16  2F2F 0084                move.l     -[A7], [A7 + 0x84]
  2332. 00001A1A  2F0C                     move.l     -[A7], A4
  2333. 00001A1C  2F0B                     move.l     -[A7], A3
  2334. 00001A1E  4EBA FF38                jsr        [PC - 0xC8 /* 00001958 */]
  2335. 00001A22  4FEF 005A                lea.l      A7, [A7 + 0x5A]
  2336. 00001A26  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2337. 00001A2A  4E75                     rts
  2338. label00001A2C:
  2339. 00001A2C  206D AD06                movea.l    A0, [A5 - 0x52FA]
  2340. 00001A30  2450                     movea.l    A2, [A0]
  2341. 00001A32  2C2D AD0A                move.l     D6, [A5 - 0x52F6]
  2342. 00001A36  6000 00B2                bra        +0xB4 /* 00001AEA */
  2343. label00001A3A:
  2344. 00001A3A  0C52 0008                cmpi.w     [A2], 0x8
  2345. 00001A3E  6716                     beq        +0x18 /* 00001A56 */
  2346. 00001A40  0C52 000F                cmpi.w     [A2], 0xF
  2347. 00001A44  6710                     beq        +0x12 /* 00001A56 */
  2348. 00001A46  0C52 0011                cmpi.w     [A2], 0x11
  2349. 00001A4A  670A                     beq        +0xC /* 00001A56 */
  2350. 00001A4C  0C52 0012                cmpi.w     [A2], 0x12
  2351. 00001A50  6704                     beq        +0x6 /* 00001A56 */
  2352. 00001A52  7000                     moveq.l    D0, 0x00
  2353. 00001A54  6002                     bra        +0x4 /* 00001A58 */
  2354. label00001A56:
  2355. 00001A56  7001                     moveq.l    D0, 0x01
  2356. label00001A58:
  2357. 00001A58  2F40 0020                move.l     [A7 + 0x20], D0
  2358. 00001A5C  0C52 0009                cmpi.w     [A2], 0x9 /* '\t' */
  2359. 00001A60  6716                     beq        +0x18 /* 00001A78 */
  2360. 00001A62  0C52 000A                cmpi.w     [A2], 0xA /* '\n' */
  2361. 00001A66  6710                     beq        +0x12 /* 00001A78 */
  2362. 00001A68  0C52 0011                cmpi.w     [A2], 0x11
  2363. 00001A6C  670A                     beq        +0xC /* 00001A78 */
  2364. 00001A6E  0C52 0012                cmpi.w     [A2], 0x12
  2365. 00001A72  6704                     beq        +0x6 /* 00001A78 */
  2366. 00001A74  7000                     moveq.l    D0, 0x00
  2367. 00001A76  6002                     bra        +0x4 /* 00001A7A */
  2368. label00001A78:
  2369. 00001A78  7001                     moveq.l    D0, 0x01
  2370. label00001A7A:
  2371. 00001A7A  2F40 001C                move.l     [A7 + 0x1C], D0
  2372. 00001A7E  4AAA 001C                tst.l      [A2 + 0x1C]
  2373. 00001A82  6708                     beq        +0xA /* 00001A8C */
  2374. 00001A84  7001                     moveq.l    D0, 0x01
  2375. 00001A86  2F40 000E                move.l     [A7 + 0xE], D0
  2376. 00001A8A  6006                     bra        +0x8 /* 00001A92 */
  2377. label00001A8C:
  2378. 00001A8C  7001                     moveq.l    D0, 0x01
  2379. 00001A8E  2F40 000A                move.l     [A7 + 0xA], D0
  2380. label00001A92:
  2381. 00001A92  302A 0018                move.w     D0, [A2 + 0x18]
  2382. 00001A96  B06F 0038                cmp.w      D0, [A7 + 0x38]
  2383. 00001A9A  6F18                     ble        +0x1A /* 00001AB4 */
  2384. 00001A9C  4AAF 001C                tst.l      [A7 + 0x1C]
  2385. 00001AA0  6612                     bne        +0x14 /* 00001AB4 */
  2386. 00001AA2  3F6A 0018 0038           move.w     [A7 + 0x38], [A2 + 0x18]
  2387. 00001AA8  3F6A 0016 0036           move.w     [A7 + 0x36], [A2 + 0x16]
  2388. 00001AAE  2F6F 0020 0046           move.l     [A7 + 0x46], [A7 + 0x20]
  2389. label00001AB4:
  2390. 00001AB4  4AAF 0020                tst.l      [A7 + 0x20]
  2391. 00001AB8  662C                     bne        +0x2E /* 00001AE6 */
  2392. 00001ABA  4AAF 001C                tst.l      [A7 + 0x1C]
  2393. 00001ABE  6626                     bne        +0x28 /* 00001AE6 */
  2394. 00001AC0  BA6A 0018                cmp.w      D5, [A2 + 0x18]
  2395. 00001AC4  6C04                     bge        +0x6 /* 00001ACA */
  2396. 00001AC6  3A2A 0018                move.w     D5, [A2 + 0x18]
  2397. label00001ACA:
  2398. 00001ACA  302A 0016                move.w     D0, [A2 + 0x16]
  2399. 00001ACE  48C0                     ext.l      D0
  2400. 00001AD0  322A 0018                move.w     D1, [A2 + 0x18]
  2401. 00001AD4  48C1                     ext.l      D1
  2402. 00001AD6  9280                     sub.l      D1, D0
  2403. 00001AD8  2E81                     move.l     [A7], D1
  2404. 00001ADA  3004                     move.w     D0, D4
  2405. 00001ADC  48C0                     ext.l      D0
  2406. 00001ADE  B081                     cmp.l      D0, D1
  2407. 00001AE0  6C04                     bge        +0x6 /* 00001AE6 */
  2408. 00001AE2  382F 0002                move.w     D4, [A7 + 0x2]
  2409. label00001AE6:
  2410. 00001AE6  7020                     moveq.l    D0, 0x20
  2411. 00001AE8  D5C0                     add.l      A2, D0
  2412. label00001AEA:
  2413. 00001AEA  2006                     move.l     D0, D6
  2414. 00001AEC  5386                     subq.l     D6, 1
  2415. 00001AEE  4A80                     tst.l      D0
  2416. 00001AF0  6600 FF48                bne        -0xB6 /* 00001A3A */
  2417. 00001AF4  4A6F 0038                tst.w      [A7 + 0x38]
  2418. 00001AF8  6606                     bne        +0x8 /* 00001B00 */
  2419. 00001AFA  3F6B 0108 0038           move.w     [A7 + 0x38], [A3 + 0x108]
  2420. label00001B00:
  2421. 00001B00  4A45                     tst.w      D5
  2422. 00001B02  6604                     bne        +0x6 /* 00001B08 */
  2423. 00001B04  3A2B 0108                move.w     D5, [A3 + 0x108]
  2424. label00001B08:
  2425. 00001B08  4AAF 0046                tst.l      [A7 + 0x46]
  2426. 00001B0C  6714                     beq        +0x16 /* 00001B22 */
  2427. 00001B0E  D96F 0038                add.w      [A7 + 0x38], D4
  2428. 00001B12  3004                     move.w     D0, D4
  2429. 00001B14  48C0                     ext.l      D0
  2430. 00001B16  322F 0038                move.w     D1, [A7 + 0x38]
  2431. 00001B1A  48C1                     ext.l      D1
  2432. 00001B1C  9280                     sub.l      D1, D0
  2433. 00001B1E  3F41 0036                move.w     [A7 + 0x36], D1
  2434. label00001B22:
  2435. 00001B22  486F 0036                pea.l      [A7 + 0x36]
  2436. 00001B26  486F 003C                pea.l      [A7 + 0x3C]
  2437. 00001B2A  2F0B                     move.l     -[A7], A3
  2438. 00001B2C  4EBA FDD0                jsr        [PC - 0x230 /* 000018FE */]
  2439. 00001B30  7001                     moveq.l    D0, 0x01
  2440. 00001B32  C0AF 0010                and.l      D0, [A7 + 0x10]
  2441. 00001B36  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2442. 00001B3A  6708                     beq        +0xA /* 00001B44 */
  2443. 00001B3C  3F7C 0001 0008           move.w     [A7 + 0x8], 0x1
  2444. 00001B42  6032                     bra        +0x34 /* 00001B76 */
  2445. label00001B44:
  2446. 00001B44  7002                     moveq.l    D0, 0x02
  2447. 00001B46  C0AF 0004                and.l      D0, [A7 + 0x4]
  2448. 00001B4A  6716                     beq        +0x18 /* 00001B62 */
  2449. 00001B4C  7001                     moveq.l    D0, 0x01
  2450. 00001B4E  B0AD ACC0                cmp.l      D0, [A5 - 0x5340]
  2451. 00001B52  6704                     beq        +0x6 /* 00001B58 */
  2452. 00001B54  7000                     moveq.l    D0, 0x00
  2453. 00001B56  6002                     bra        +0x4 /* 00001B5A */
  2454. label00001B58:
  2455. 00001B58  70FF                     moveq.l    D0, 0xFFFFFFFF
  2456. label00001B5A:
  2457. 00001B5A  4880                     ext.w      D0
  2458. 00001B5C  3F40 0008                move.w     [A7 + 0x8], D0
  2459. 00001B60  6014                     bra        +0x16 /* 00001B76 */
  2460. label00001B62:
  2461. 00001B62  7001                     moveq.l    D0, 0x01
  2462. 00001B64  B0AD ACC0                cmp.l      D0, [A5 - 0x5340]
  2463. 00001B68  6704                     beq        +0x6 /* 00001B6E */
  2464. 00001B6A  70FF                     moveq.l    D0, 0xFFFFFFFF
  2465. 00001B6C  6002                     bra        +0x4 /* 00001B70 */
  2466. label00001B6E:
  2467. 00001B6E  7000                     moveq.l    D0, 0x00
  2468. label00001B70:
  2469. 00001B70  4880                     ext.w      D0
  2470. 00001B72  3F40 0008                move.w     [A7 + 0x8], D0
  2471. label00001B76:
  2472. 00001B76  4A6F 0008                tst.w      [A7 + 0x8]
  2473. 00001B7A  677A                     beq        +0x7C /* 00001BF6 */
  2474. 00001B7C  7800                     moveq.l    D4, 0x00
  2475. 00001B7E  4AAB 0052                tst.l      [A3 + 0x52]
  2476. 00001B82  6608                     bne        +0xA /* 00001B8C */
  2477. 00001B84  302F 0088                move.w     D0, [A7 + 0x88]
  2478. 00001B88  48C0                     ext.l      D0
  2479. 00001B8A  6010                     bra        +0x12 /* 00001B9C */
  2480. label00001B8C:
  2481. 00001B8C  302B 0060                move.w     D0, [A3 + 0x60]
  2482. 00001B90  48C0                     ext.l      D0
  2483. 00001B92  322B 0062                move.w     D1, [A3 + 0x62]
  2484. 00001B96  48C1                     ext.l      D1
  2485. 00001B98  9280                     sub.l      D1, D0
  2486. 00001B9A  2001                     move.l     D0, D1
  2487. label00001B9C:
  2488. 00001B9C  3E00                     move.w     D7, D0
  2489. 00001B9E  206D AD06                movea.l    A0, [A5 - 0x52FA]
  2490. 00001BA2  2450                     movea.l    A2, [A0]
  2491. 00001BA4  2C2D AD0A                move.l     D6, [A5 - 0x52F6]
  2492. 00001BA8  6008                     bra        +0xA /* 00001BB2 */
  2493. label00001BAA:
  2494. 00001BAA  D86A 001A                add.w      D4, [A2 + 0x1A]
  2495. 00001BAE  7020                     moveq.l    D0, 0x20
  2496. 00001BB0  D5C0                     add.l      A2, D0
  2497. label00001BB2:
  2498. 00001BB2  2006                     move.l     D0, D6
  2499. 00001BB4  5386                     subq.l     D6, 1
  2500. 00001BB6  4A80                     tst.l      D0
  2501. 00001BB8  66F0                     bne        -0xE /* 00001BAA */
  2502. 00001BBA  3004                     move.w     D0, D4
  2503. 00001BBC  48C0                     ext.l      D0
  2504. 00001BBE  3207                     move.w     D1, D7
  2505. 00001BC0  48C1                     ext.l      D1
  2506. 00001BC2  9280                     sub.l      D1, D0
  2507. 00001BC4  3801                     move.w     D4, D1
  2508. 00001BC6  0C6F 0001 0008           cmpi.w     [A7 + 0x8], 0x1
  2509. 00001BCC  6706                     beq        +0x8 /* 00001BD4 */
  2510. 00001BCE  3004                     move.w     D0, D4
  2511. 00001BD0  48C0                     ext.l      D0
  2512. 00001BD2  6014                     bra        +0x16 /* 00001BE8 */
  2513. label00001BD4:
  2514. 00001BD4  3004                     move.w     D0, D4
  2515. 00001BD6  48C0                     ext.l      D0
  2516. 00001BD8  2200                     move.l     D1, D0
  2517. 00001BDA  E089                     lsr        D1, 8
  2518. 00001BDC  E089                     lsr        D1, 8
  2519. 00001BDE  E089                     lsr        D1, 8
  2520. 00001BE0  EE89                     lsr        D1, 7
  2521. 00001BE2  D280                     add.l      D1, D0
  2522. 00001BE4  E281                     asr        D1, 1
  2523. 00001BE6  2001                     move.l     D0, D1
  2524. label00001BE8:
  2525. 00001BE8  3E00                     move.w     D7, D0
  2526. 00001BEA  DF6F 007A                add.w      [A7 + 0x7A], D7
  2527. 00001BEE  3F2F 007A                move.w     -[A7], [A7 + 0x7A]
  2528. 00001BF2  3F14                     move.w     -[A7], [A4]
  2529. 00001BF4  A893                     syscall    MoveTo
  2530. label00001BF6:
  2531. 00001BF6  206D AD06                movea.l    A0, [A5 - 0x52FA]
  2532. 00001BFA  2050                     movea.l    A0, [A0]
  2533. 00001BFC  2F28 0006                move.l     -[A7], [A0 + 0x6]
  2534. 00001C00  3F2F 003C                move.w     -[A7], [A7 + 0x3C]
  2535. 00001C04  3F14                     move.w     -[A7], [A4]
  2536. 00001C06  4EAD DAB4                jsr        [A5 - 0x254C]
  2537. 00001C0A  206D AD06                movea.l    A0, [A5 - 0x52FA]
  2538. 00001C0E  A029                     syscall    HLock
  2539. 00001C10  206D ACF6                movea.l    A0, [A5 - 0x530A]
  2540. 00001C14  A029                     syscall    HLock
  2541. 00001C16  206D ACF6                movea.l    A0, [A5 - 0x530A]
  2542. 00001C1A  2F50 001A                move.l     [A7 + 0x1A], [A0]
  2543. 00001C1E  4AAF 0016                tst.l      [A7 + 0x16]
  2544. 00001C22  504F                     addq.w     A7, 8
  2545. 00001C24  6740                     beq        +0x42 /* 00001C66 */
  2546. 00001C26  4AAF 000E                tst.l      [A7 + 0xE]
  2547. 00001C2A  673A                     beq        +0x3C /* 00001C66 */
  2548. 00001C2C  4AAD AD0A                tst.l      [A5 - 0x52F6]
  2549. 00001C30  6734                     beq        +0x36 /* 00001C66 */
  2550. 00001C32  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2551. 00001C36  4267                     clr.w      -[A7]
  2552. 00001C38  202D AD0A                move.l     D0, [A5 - 0x52F6]
  2553. 00001C3C  5380                     subq.l     D0, 1
  2554. 00001C3E  3F00                     move.w     -[A7], D0
  2555. 00001C40  7002                     moveq.l    D0, 0x02
  2556. 00001C42  B0AD ACC0                cmp.l      D0, [A5 - 0x5340]
  2557. 00001C46  6704                     beq        +0x6 /* 00001C4C */
  2558. 00001C48  7000                     moveq.l    D0, 0x00
  2559. 00001C4A  6006                     bra        +0x8 /* 00001C52 */
  2560. label00001C4C:
  2561. 00001C4C  203C 0000 00FF           move.l     D0, 0xFF
  2562. label00001C52:
  2563. 00001C52  1F00                     move.b     -[A7], D0
  2564. 00001C54  486D F6F8                pea.l      [A5 - 0x908]
  2565. 00001C58  206D AD06                movea.l    A0, [A5 - 0x52FA]
  2566. 00001C5C  2F10                     move.l     -[A7], [A0]
  2567. 00001C5E  2F3C 8012 FFFC           move.l     -[A7], 0x8012FFFC
  2568. 00001C64  A8B5                     syscall    ScriptUtil
  2569. label00001C66:
  2570. 00001C66  0C6F FFFF 0008           cmpi.w     [A7 + 0x8], 0xFFFF
  2571. 00001C6C  6628                     bne        +0x2A /* 00001C96 */
  2572. 00001C6E  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2573. 00001C72  206D AD06                movea.l    A0, [A5 - 0x52FA]
  2574. 00001C76  2F10                     move.l     -[A7], [A0]
  2575. 00001C78  2F0B                     move.l     -[A7], A3
  2576. 00001C7A  4EBA 1A9C                jsr        [PC + 0x1A9C /* 00003718 */]
  2577. 00001C7E  3800                     move.w     D4, D0
  2578. 00001C80  4A44                     tst.w      D4
  2579. 00001C82  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2580. 00001C86  670E                     beq        +0x10 /* 00001C96 */
  2581. 00001C88  DE44                     add.w      D7, D4
  2582. 00001C8A  D96F 007A                add.w      [A7 + 0x7A], D4
  2583. 00001C8E  3F2F 007A                move.w     -[A7], [A7 + 0x7A]
  2584. 00001C92  3F14                     move.w     -[A7], [A4]
  2585. 00001C94  A893                     syscall    MoveTo
  2586. label00001C96:
  2587. 00001C96  4AAB 007C                tst.l      [A3 + 0x7C]
  2588. 00001C9A  670C                     beq        +0xE /* 00001CA8 */
  2589. 00001C9C  376F 007A 0080           move.w     [A3 + 0x80], [A7 + 0x7A]
  2590. 00001CA2  376F 0038 0082           move.w     [A3 + 0x82], [A7 + 0x38]
  2591. label00001CA8:
  2592. 00001CA8  42AF 0018                clr.l      [A7 + 0x18]
  2593. 00001CAC  6000 06A2                bra        +0x6A4 /* 00002350 */
  2594. label00001CB0:
  2595. 00001CB0  246F 0012                movea.l    A2, [A7 + 0x12]
  2596. 00001CB4  54AF 0012                addq.l     [A7 + 0x12], 2
  2597. 00001CB8  3252                     movea.w    A1, [A2]
  2598. 00001CBA  2009                     move.l     D0, A1
  2599. 00001CBC  EB88                     lsl        D0, 5
  2600. 00001CBE  246D AD06                movea.l    A2, [A5 - 0x52FA]
  2601. 00001CC2  2452                     movea.l    A2, [A2]
  2602. 00001CC4  D5C0                     add.l      A2, D0
  2603. 00001CC6  486F 004A                pea.l      [A7 + 0x4A]
  2604. 00001CCA  A89A                     syscall    GetPen
  2605. 00001CCC  3012                     move.w     D0, [A2]
  2606. 00001CCE  48C0                     ext.l      D0
  2607. 00001CD0  0C80 0000 0016           cmpi.l     D0, 0x16
  2608. 00001CD6  6200 0674                bhi        +0x676 /* 0000234C */
  2609. 00001CDA  D040                     add.w      D0, D0
  2610. 00001CDC  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  2611. 00001CE0  4EFB 0002                jmp        [PC + D0.w + 0x2]
  2612. 00001CE4  0452 0452                subi.w     [A2], 0x452
  2613. 00001CE8  0452 0452                subi.w     [A2], 0x452
  2614. 00001CEC  0452 0668                subi.w     [A2], 0x668
  2615. 00001CF0  002E 0668 0170           ori.b      [A6 + 0x170], 0x68 /* 'h' */
  2616. 00001CF6  0048 00E8                ori.w      A0, 0xE8
  2617. 00001CFA  0668 0668 0668           addi.w     [A0 + 0x668], 0x668
  2618. 00001D00  03A8 02D8                bclr       [A0 + 0x2D8], D1
  2619. 00001D04  0668 01B8 0254           addi.w     [A0 + 0x254], 0x1B8
  2620. 00001D0A  0668 031C 031C           addi.w     [A0 + 0x31C], 0x31C
  2621. 00001D10  0360                     bchg       -[A0], D1
  2622. 00001D12  7001                     moveq.l    D0, 0x01
  2623. 00001D14  2F40 003A                move.l     [A7 + 0x3A], D0
  2624. 00001D18  3007                     move.w     D0, D7
  2625. 00001D1A  48C0                     ext.l      D0
  2626. 00001D1C  D0AA 0012                add.l      D0, [A2 + 0x12]
  2627. 00001D20  3F00                     move.w     -[A7], D0
  2628. 00001D22  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  2629. 00001D26  A893                     syscall    MoveTo
  2630. 00001D28  6000 0622                bra        +0x624 /* 0000234C */
  2631. 00001D2C  7001                     moveq.l    D0, 0x01
  2632. 00001D2E  2F40 003A                move.l     [A7 + 0x3A], D0
  2633. 00001D32  486D AB3C                pea.l      [A5 - 0x54C4]
  2634. 00001D36  42A7                     clr.l      -[A7]
  2635. 00001D38  42A7                     clr.l      -[A7]
  2636. 00001D3A  4878 0001                push.l     0x1
  2637. 00001D3E  3014                     move.w     D0, [A4]
  2638. 00001D40  48C0                     ext.l      D0
  2639. 00001D42  D0AA 0002                add.l      D0, [A2 + 0x2]
  2640. 00001D46  3F00                     move.w     -[A7], D0
  2641. 00001D48  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  2642. 00001D4C  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  2643. 00001D50  2F2A 0012                move.l     -[A7], [A2 + 0x12]
  2644. 00001D54  1F2F 00A6                move.b     -[A7], [A7 + 0xA6]
  2645. 00001D58  2F0E                     move.l     -[A7], A6
  2646. 00001D5A  2F0B                     move.l     -[A7], A3
  2647. 00001D5C  4EBA 1002                jsr        [PC + 0x1002 /* 00002D60 */]
  2648. 00001D60  3600                     move.w     D3, D0
  2649. 00001D62  4A43                     tst.w      D3
  2650. 00001D64  4FEF 0026                lea.l      A7, [A7 + 0x26]
  2651. 00001D68  6600 05E2                bne        +0x5E4 /* 0000234C */
  2652. 00001D6C  4AAB 007C                tst.l      [A3 + 0x7C]
  2653. 00001D70  674E                     beq        +0x50 /* 00001DC0 */
  2654. 00001D72  4AAF 0032                tst.l      [A7 + 0x32]
  2655. 00001D76  672A                     beq        +0x2C /* 00001DA2 */
  2656. 00001D78  42A7                     clr.l      -[A7]
  2657. 00001D7A  3F2B 0082                move.w     -[A7], [A3 + 0x82]
  2658. 00001D7E  3F2F 0052                move.w     -[A7], [A7 + 0x52]
  2659. 00001D82  486D AB3C                pea.l      [A5 - 0x54C4]
  2660. 00001D86  4878 0001                push.l     0x1
  2661. 00001D8A  3F2D AB3C                move.w     -[A7], [A5 - 0x54C4]
  2662. 00001D8E  1F2F 009C                move.b     -[A7], [A7 + 0x9C]
  2663. 00001D92  2F0E                     move.l     -[A7], A6
  2664. 00001D94  2F0B                     move.l     -[A7], A3
  2665. 00001D96  4EBA 069E                jsr        [PC + 0x69E /* 00002436 */]
  2666. 00001D9A  3600                     move.w     D3, D0
  2667. 00001D9C  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2668. 00001DA0  601E                     bra        +0x20 /* 00001DC0 */
  2669. label00001DA2:
  2670. 00001DA2  7001                     moveq.l    D0, 0x01
  2671. 00001DA4  2F40 0032                move.l     [A7 + 0x32], D0
  2672. 00001DA8  376D AB3E 0080           move.w     [A3 + 0x80], [A5 - 0x54C2]
  2673. 00001DAE  302D AB3C                move.w     D0, [A5 - 0x54C4]
  2674. 00001DB2  48C0                     ext.l      D0
  2675. 00001DB4  322D AB40                move.w     D1, [A5 - 0x54C0]
  2676. 00001DB8  48C1                     ext.l      D1
  2677. 00001DBA  9280                     sub.l      D1, D0
  2678. 00001DBC  3741 0082                move.w     [A3 + 0x82], D1
  2679. label00001DC0:
  2680. 00001DC0  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  2681. 00001DC4  3F14                     move.w     -[A7], [A4]
  2682. 00001DC6  A893                     syscall    MoveTo
  2683. 00001DC8  6000 0582                bra        +0x584 /* 0000234C */
  2684. 00001DCC  7001                     moveq.l    D0, 0x01
  2685. 00001DCE  2D40 0010                move.l     [A6 + 0x10], D0
  2686. 00001DD2  7001                     moveq.l    D0, 0x01
  2687. 00001DD4  2F40 003A                move.l     [A7 + 0x3A], D0
  2688. 00001DD8  486D AB3C                pea.l      [A5 - 0x54C4]
  2689. 00001DDC  42A7                     clr.l      -[A7]
  2690. 00001DDE  4878 0001                push.l     0x1
  2691. 00001DE2  4878 0001                push.l     0x1
  2692. 00001DE6  3014                     move.w     D0, [A4]
  2693. 00001DE8  48C0                     ext.l      D0
  2694. 00001DEA  D0AA 0002                add.l      D0, [A2 + 0x2]
  2695. 00001DEE  3F00                     move.w     -[A7], D0
  2696. 00001DF0  3F2F 009A                move.w     -[A7], [A7 + 0x9A]
  2697. 00001DF4  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  2698. 00001DF8  2F2A 0012                move.l     -[A7], [A2 + 0x12]
  2699. 00001DFC  1F2F 00A6                move.b     -[A7], [A7 + 0xA6]
  2700. 00001E00  2F0E                     move.l     -[A7], A6
  2701. 00001E02  2F0B                     move.l     -[A7], A3
  2702. 00001E04  4EBA 0F5A                jsr        [PC + 0xF5A /* 00002D60 */]
  2703. 00001E08  3600                     move.w     D3, D0
  2704. 00001E0A  4A43                     tst.w      D3
  2705. 00001E0C  4FEF 0026                lea.l      A7, [A7 + 0x26]
  2706. 00001E10  6600 053A                bne        +0x53C /* 0000234C */
  2707. 00001E14  4AAB 007C                tst.l      [A3 + 0x7C]
  2708. 00001E18  672E                     beq        +0x30 /* 00001E48 */
  2709. 00001E1A  42A7                     clr.l      -[A7]
  2710. 00001E1C  3F2B 0082                move.w     -[A7], [A3 + 0x82]
  2711. 00001E20  3F2F 0052                move.w     -[A7], [A7 + 0x52]
  2712. 00001E24  486D AB3C                pea.l      [A5 - 0x54C4]
  2713. 00001E28  4878 0001                push.l     0x1
  2714. 00001E2C  3F2D AB3C                move.w     -[A7], [A5 - 0x54C4]
  2715. 00001E30  1F2F 009C                move.b     -[A7], [A7 + 0x9C]
  2716. 00001E34  2F0E                     move.l     -[A7], A6
  2717. 00001E36  2F0B                     move.l     -[A7], A3
  2718. 00001E38  4EBA 05FC                jsr        [PC + 0x5FC /* 00002436 */]
  2719. 00001E3C  3600                     move.w     D3, D0
  2720. 00001E3E  7001                     moveq.l    D0, 0x01
  2721. 00001E40  2F40 004E                move.l     [A7 + 0x4E], D0
  2722. 00001E44  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2723. label00001E48:
  2724. 00001E48  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  2725. 00001E4C  3F14                     move.w     -[A7], [A4]
  2726. 00001E4E  A893                     syscall    MoveTo
  2727. 00001E50  6000 04FA                bra        +0x4FC /* 0000234C */
  2728. 00001E54  7001                     moveq.l    D0, 0x01
  2729. 00001E56  2F40 003A                move.l     [A7 + 0x3A], D0
  2730. 00001E5A  3F6F 004C 0024           move.w     [A7 + 0x24], [A7 + 0x4C]
  2731. 00001E60  486D AB3C                pea.l      [A5 - 0x54C4]
  2732. 00001E64  4878 0001                push.l     0x1
  2733. 00001E68  42A7                     clr.l      -[A7]
  2734. 00001E6A  42A7                     clr.l      -[A7]
  2735. 00001E6C  302F 0046                move.w     D0, [A7 + 0x46]
  2736. 00001E70  48C0                     ext.l      D0
  2737. 00001E72  3214                     move.w     D1, [A4]
  2738. 00001E74  48C1                     ext.l      D1
  2739. 00001E76  D280                     add.l      D1, D0
  2740. 00001E78  3F01                     move.w     -[A7], D1
  2741. 00001E7A  3F2F 005E                move.w     -[A7], [A7 + 0x5E]
  2742. 00001E7E  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  2743. 00001E82  2F2A 0012                move.l     -[A7], [A2 + 0x12]
  2744. 00001E86  1F2F 00A6                move.b     -[A7], [A7 + 0xA6]
  2745. 00001E8A  2F0E                     move.l     -[A7], A6
  2746. 00001E8C  2F0B                     move.l     -[A7], A3
  2747. 00001E8E  4EBA 0ED0                jsr        [PC + 0xED0 /* 00002D60 */]
  2748. 00001E92  3600                     move.w     D3, D0
  2749. 00001E94  4FEF 0026                lea.l      A7, [A7 + 0x26]
  2750. 00001E98  6000 04B2                bra        +0x4B4 /* 0000234C */
  2751. 00001E9C  7001                     moveq.l    D0, 0x01
  2752. 00001E9E  2F40 003A                move.l     [A7 + 0x3A], D0
  2753. 00001EA2  486D AB3C                pea.l      [A5 - 0x54C4]
  2754. 00001EA6  42A7                     clr.l      -[A7]
  2755. 00001EA8  42A7                     clr.l      -[A7]
  2756. 00001EAA  4878 0001                push.l     0x1
  2757. 00001EAE  3014                     move.w     D0, [A4]
  2758. 00001EB0  48C0                     ext.l      D0
  2759. 00001EB2  D0AA 0002                add.l      D0, [A2 + 0x2]
  2760. 00001EB6  3F00                     move.w     -[A7], D0
  2761. 00001EB8  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  2762. 00001EBC  2F2A 0012                move.l     -[A7], [A2 + 0x12]
  2763. 00001EC0  1F2F 00A2                move.b     -[A7], [A7 + 0xA2]
  2764. 00001EC4  2F0E                     move.l     -[A7], A6
  2765. 00001EC6  2F0B                     move.l     -[A7], A3
  2766. 00001EC8  4EBA 10C0                jsr        [PC + 0x10C0 /* 00002F8A */]
  2767. 00001ECC  3600                     move.w     D3, D0
  2768. 00001ECE  4A43                     tst.w      D3
  2769. 00001ED0  4FEF 0022                lea.l      A7, [A7 + 0x22]
  2770. 00001ED4  6600 0476                bne        +0x478 /* 0000234C */
  2771. 00001ED8  4AAB 007C                tst.l      [A3 + 0x7C]
  2772. 00001EDC  674E                     beq        +0x50 /* 00001F2C */
  2773. 00001EDE  4AAF 0032                tst.l      [A7 + 0x32]
  2774. 00001EE2  672A                     beq        +0x2C /* 00001F0E */
  2775. 00001EE4  42A7                     clr.l      -[A7]
  2776. 00001EE6  3F2B 0082                move.w     -[A7], [A3 + 0x82]
  2777. 00001EEA  3F2F 0052                move.w     -[A7], [A7 + 0x52]
  2778. 00001EEE  486D AB3C                pea.l      [A5 - 0x54C4]
  2779. 00001EF2  4878 0001                push.l     0x1
  2780. 00001EF6  3F2D AB3C                move.w     -[A7], [A5 - 0x54C4]
  2781. 00001EFA  1F2F 009C                move.b     -[A7], [A7 + 0x9C]
  2782. 00001EFE  2F0E                     move.l     -[A7], A6
  2783. 00001F00  2F0B                     move.l     -[A7], A3
  2784. 00001F02  4EBA 0532                jsr        [PC + 0x532 /* 00002436 */]
  2785. 00001F06  3600                     move.w     D3, D0
  2786. 00001F08  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2787. 00001F0C  601E                     bra        +0x20 /* 00001F2C */
  2788. label00001F0E:
  2789. 00001F0E  7001                     moveq.l    D0, 0x01
  2790. 00001F10  2F40 0032                move.l     [A7 + 0x32], D0
  2791. 00001F14  376D AB3E 0080           move.w     [A3 + 0x80], [A5 - 0x54C2]
  2792. 00001F1A  302D AB3C                move.w     D0, [A5 - 0x54C4]
  2793. 00001F1E  48C0                     ext.l      D0
  2794. 00001F20  322D AB40                move.w     D1, [A5 - 0x54C0]
  2795. 00001F24  48C1                     ext.l      D1
  2796. 00001F26  9280                     sub.l      D1, D0
  2797. 00001F28  3741 0082                move.w     [A3 + 0x82], D1
  2798. label00001F2C:
  2799. 00001F2C  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  2800. 00001F30  3F14                     move.w     -[A7], [A4]
  2801. 00001F32  A893                     syscall    MoveTo
  2802. 00001F34  6000 0416                bra        +0x418 /* 0000234C */
  2803. 00001F38  7001                     moveq.l    D0, 0x01
  2804. 00001F3A  2D40 0010                move.l     [A6 + 0x10], D0
  2805. 00001F3E  7001                     moveq.l    D0, 0x01
  2806. 00001F40  2F40 003A                move.l     [A7 + 0x3A], D0
  2807. 00001F44  486D AB3C                pea.l      [A5 - 0x54C4]
  2808. 00001F48  42A7                     clr.l      -[A7]
  2809. 00001F4A  4878 0001                push.l     0x1
  2810. 00001F4E  4878 0001                push.l     0x1
  2811. 00001F52  3014                     move.w     D0, [A4]
  2812. 00001F54  48C0                     ext.l      D0
  2813. 00001F56  D0AA 0002                add.l      D0, [A2 + 0x2]
  2814. 00001F5A  3F00                     move.w     -[A7], D0
  2815. 00001F5C  3F2F 009A                move.w     -[A7], [A7 + 0x9A]
  2816. 00001F60  2F2A 0012                move.l     -[A7], [A2 + 0x12]
  2817. 00001F64  1F2F 00A2                move.b     -[A7], [A7 + 0xA2]
  2818. 00001F68  2F0E                     move.l     -[A7], A6
  2819. 00001F6A  2F0B                     move.l     -[A7], A3
  2820. 00001F6C  4EBA 101C                jsr        [PC + 0x101C /* 00002F8A */]
  2821. 00001F70  3600                     move.w     D3, D0
  2822. 00001F72  4A43                     tst.w      D3
  2823. 00001F74  4FEF 0022                lea.l      A7, [A7 + 0x22]
  2824. 00001F78  6600 03D2                bne        +0x3D4 /* 0000234C */
  2825. 00001F7C  4AAB 007C                tst.l      [A3 + 0x7C]
  2826. 00001F80  672E                     beq        +0x30 /* 00001FB0 */
  2827. 00001F82  42A7                     clr.l      -[A7]
  2828. 00001F84  3F2B 0082                move.w     -[A7], [A3 + 0x82]
  2829. 00001F88  3F2F 0052                move.w     -[A7], [A7 + 0x52]
  2830. 00001F8C  486D AB3C                pea.l      [A5 - 0x54C4]
  2831. 00001F90  4878 0001                push.l     0x1
  2832. 00001F94  3F2D AB3C                move.w     -[A7], [A5 - 0x54C4]
  2833. 00001F98  1F2F 009C                move.b     -[A7], [A7 + 0x9C]
  2834. 00001F9C  2F0E                     move.l     -[A7], A6
  2835. 00001F9E  2F0B                     move.l     -[A7], A3
  2836. 00001FA0  4EBA 0494                jsr        [PC + 0x494 /* 00002436 */]
  2837. 00001FA4  3600                     move.w     D3, D0
  2838. 00001FA6  7001                     moveq.l    D0, 0x01
  2839. 00001FA8  2F40 004E                move.l     [A7 + 0x4E], D0
  2840. 00001FAC  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2841. label00001FB0:
  2842. 00001FB0  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  2843. 00001FB4  3F14                     move.w     -[A7], [A4]
  2844. 00001FB6  A893                     syscall    MoveTo
  2845. 00001FB8  6000 0392                bra        +0x394 /* 0000234C */
  2846. 00001FBC  7001                     moveq.l    D0, 0x01
  2847. 00001FBE  2F40 003A                move.l     [A7 + 0x3A], D0
  2848. 00001FC2  3F6F 004C 0024           move.w     [A7 + 0x24], [A7 + 0x4C]
  2849. 00001FC8  486D AB3C                pea.l      [A5 - 0x54C4]
  2850. 00001FCC  4878 0001                push.l     0x1
  2851. 00001FD0  42A7                     clr.l      -[A7]
  2852. 00001FD2  42A7                     clr.l      -[A7]
  2853. 00001FD4  302F 0046                move.w     D0, [A7 + 0x46]
  2854. 00001FD8  48C0                     ext.l      D0
  2855. 00001FDA  3214                     move.w     D1, [A4]
  2856. 00001FDC  48C1                     ext.l      D1
  2857. 00001FDE  D280                     add.l      D1, D0
  2858. 00001FE0  3F01                     move.w     -[A7], D1
  2859. 00001FE2  3F2F 005E                move.w     -[A7], [A7 + 0x5E]
  2860. 00001FE6  2F2A 0012                move.l     -[A7], [A2 + 0x12]
  2861. 00001FEA  1F2F 00A2                move.b     -[A7], [A7 + 0xA2]
  2862. 00001FEE  2F0E                     move.l     -[A7], A6
  2863. 00001FF0  2F0B                     move.l     -[A7], A3
  2864. 00001FF2  4EBA 0F96                jsr        [PC + 0xF96 /* 00002F8A */]
  2865. 00001FF6  3600                     move.w     D3, D0
  2866. 00001FF8  4FEF 0022                lea.l      A7, [A7 + 0x22]
  2867. 00001FFC  6000 034E                bra        +0x350 /* 0000234C */
  2868. 00002000  7001                     moveq.l    D0, 0x01
  2869. 00002002  2740 007C                move.l     [A3 + 0x7C], D0
  2870. 00002006  376F 004C 0080           move.w     [A3 + 0x80], [A7 + 0x4C]
  2871. 0000200C  376F 0038 0082           move.w     [A3 + 0x82], [A7 + 0x38]
  2872. 00002012  276A 0012 0074           move.l     [A3 + 0x74], [A2 + 0x12]
  2873. 00002018  42AB 006C                clr.l      [A3 + 0x6C]
  2874. 0000201C  42AB 0070                clr.l      [A3 + 0x70]
  2875. 00002020  0C52 0015                cmpi.w     [A2], 0x15
  2876. 00002024  6610                     bne        +0x12 /* 00002036 */
  2877. 00002026  276A 0002 0078           move.l     [A3 + 0x78], [A2 + 0x2]
  2878. 0000202C  177C 0003 0084           move.b     [A3 + 0x84], 0x3
  2879. 00002032  6000 0318                bra        +0x31A /* 0000234C */
  2880. label00002036:
  2881. 00002036  42AB 0078                clr.l      [A3 + 0x78]
  2882. 0000203A  176A 0005 0084           move.b     [A3 + 0x84], [A2 + 0x5]
  2883. 00002040  6000 030A                bra        +0x30C /* 0000234C */
  2884. 00002044  4AAF 002E                tst.l      [A7 + 0x2E]
  2885. 00002048  6704                     beq        +0x6 /* 0000204E */
  2886. 0000204A  7801                     moveq.l    D4, 0x01
  2887. 0000204C  6014                     bra        +0x16 /* 00002062 */
  2888. label0000204E:
  2889. 0000204E  4AAF 0032                tst.l      [A7 + 0x32]
  2890. 00002052  670C                     beq        +0xE /* 00002060 */
  2891. 00002054  302F 004C                move.w     D0, [A7 + 0x4C]
  2892. 00002058  B06B 0080                cmp.w      D0, [A3 + 0x80]
  2893. 0000205C  6700 02EE                beq        +0x2F0 /* 0000234C */
  2894. label00002060:
  2895. 00002060  7800                     moveq.l    D4, 0x00
  2896. label00002062:
  2897. 00002062  4878 0001                push.l     0x1
  2898. 00002066  3F2B 0082                move.w     -[A7], [A3 + 0x82]
  2899. 0000206A  3F2F 0052                move.w     -[A7], [A7 + 0x52]
  2900. 0000206E  486D AB3C                pea.l      [A5 - 0x54C4]
  2901. 00002072  2F04                     move.l     -[A7], D4
  2902. 00002074  3F14                     move.w     -[A7], [A4]
  2903. 00002076  1F2F 009C                move.b     -[A7], [A7 + 0x9C]
  2904. 0000207A  2F0E                     move.l     -[A7], A6
  2905. 0000207C  2F0B                     move.l     -[A7], A3
  2906. 0000207E  4EBA 03B6                jsr        [PC + 0x3B6 /* 00002436 */]
  2907. 00002082  3600                     move.w     D3, D0
  2908. 00002084  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2909. 00002088  6000 02C2                bra        +0x2C4 /* 0000234C */
  2910. 0000208C  280A                     move.l     D4, A2
  2911. 0000208E  2044                     movea.l    A0, D4
  2912. 00002090  3028 0012                move.w     D0, [A0 + 0x12]
  2913. 00002094  7201                     moveq.l    D1, 0x01
  2914. 00002096  C081                     and.l      D0, D1
  2915. 00002098  6704                     beq        +0x6 /* 0000209E */
  2916. 0000209A  7C01                     moveq.l    D6, 0x01
  2917. 0000209C  601C                     bra        +0x1E /* 000020BA */
  2918. label0000209E:
  2919. 0000209E  3028 0012                move.w     D0, [A0 + 0x12]
  2920. 000020A2  7202                     moveq.l    D1, 0x02
  2921. 000020A4  C081                     and.l      D0, D1
  2922. 000020A6  6704                     beq        +0x6 /* 000020AC */
  2923. 000020A8  7C02                     moveq.l    D6, 0x02
  2924. 000020AA  600E                     bra        +0x10 /* 000020BA */
  2925. label000020AC:
  2926. 000020AC  2044                     movea.l    A0, D4
  2927. 000020AE  4AA8 000E                tst.l      [A0 + 0xE]
  2928. 000020B2  6704                     beq        +0x6 /* 000020B8 */
  2929. 000020B4  7C03                     moveq.l    D6, 0x03
  2930. 000020B6  6002                     bra        +0x4 /* 000020BA */
  2931. label000020B8:
  2932. 000020B8  7C00                     moveq.l    D6, 0x00
  2933. label000020BA:
  2934. 000020BA  2044                     movea.l    A0, D4
  2935. 000020BC  3028 0012                move.w     D0, [A0 + 0x12]
  2936. 000020C0  7208                     moveq.l    D1, 0x08
  2937. 000020C2  C081                     and.l      D0, D1
  2938. 000020C4  670E                     beq        +0x10 /* 000020D4 */
  2939. 000020C6  2F6D AB3C 0026           move.l     [A7 + 0x26], [A5 - 0x54C4]
  2940. 000020CC  2F6D AB40 002A           move.l     [A7 + 0x2A], [A5 - 0x54C0]
  2941. 000020D2  601A                     bra        +0x1C /* 000020EE */
  2942. label000020D4:
  2943. 000020D4  2F68 0002 0026           move.l     [A7 + 0x26], [A0 + 0x2]
  2944. 000020DA  2F68 0006 002A           move.l     [A7 + 0x2A], [A0 + 0x6]
  2945. 000020E0  486F 0026                pea.l      [A7 + 0x26]
  2946. 000020E4  3F2D AB3E                move.w     -[A7], [A5 - 0x54C2]
  2947. 000020E8  3F2D AB3C                move.w     -[A7], [A5 - 0x54C4]
  2948. 000020EC  A8A8                     syscall    OffsetRect
  2949. label000020EE:
  2950. 000020EE  2044                     movea.l    A0, D4
  2951. 000020F0  3028 0012                move.w     D0, [A0 + 0x12]
  2952. 000020F4  7208                     moveq.l    D1, 0x08
  2953. 000020F6  C081                     and.l      D0, D1
  2954. 000020F8  56C0                     sne        D0
  2955. 000020FA  4400                     neg.b      D0
  2956. 000020FC  4880                     ext.w      D0
  2957. 000020FE  48C0                     ext.l      D0
  2958. 00002100  2F00                     move.l     -[A7], D0
  2959. 00002102  3028 0012                move.w     D0, [A0 + 0x12]
  2960. 00002106  7204                     moveq.l    D1, 0x04
  2961. 00002108  C081                     and.l      D0, D1
  2962. 0000210A  56C0                     sne        D0
  2963. 0000210C  4400                     neg.b      D0
  2964. 0000210E  4880                     ext.w      D0
  2965. 00002110  48C0                     ext.l      D0
  2966. 00002112  2F00                     move.l     -[A7], D0
  2967. 00002114  486F 002E                pea.l      [A7 + 0x2E]
  2968. 00002118  1F06                     move.b     -[A7], D6
  2969. 0000211A  2F28 000E                move.l     -[A7], [A0 + 0xE]
  2970. 0000211E  2F28 000A                move.l     -[A7], [A0 + 0xA]
  2971. 00002122  42A7                     clr.l      -[A7]
  2972. 00002124  2F0E                     move.l     -[A7], A6
  2973. 00002126  2F0B                     move.l     -[A7], A3
  2974. 00002128  4EBA 0BE0                jsr        [PC + 0xBE0 /* 00002D0A */]
  2975. 0000212C  3600                     move.w     D3, D0
  2976. 0000212E  4FEF 0022                lea.l      A7, [A7 + 0x22]
  2977. 00002132  6000 0218                bra        +0x21A /* 0000234C */
  2978. 00002136  202A 000E                move.l     D0, [A2 + 0xE]
  2979. 0000213A  E988                     lsl        D0, 4
  2980. 0000213C  206B 00A0                movea.l    A0, [A3 + 0xA0]
  2981. 00002140  2830 0806                move.l     D4, [A0 + D0 + 0x6]
  2982. 00002144  0C52 0004                cmpi.w     [A2], 0x4
  2983. 00002148  6704                     beq        +0x6 /* 0000214E */
  2984. 0000214A  7000                     moveq.l    D0, 0x00
  2985. 0000214C  6004                     bra        +0x6 /* 00002152 */
  2986. label0000214E:
  2987. 0000214E  202A 0002                move.l     D0, [A2 + 0x2]
  2988. label00002152:
  2989. 00002152  2C00                     move.l     D6, D0
  2990. 00002154  7001                     moveq.l    D0, 0x01
  2991. 00002156  2740 00FC                move.l     [A3 + 0xFC], D0
  2992. 0000215A  7001                     moveq.l    D0, 0x01
  2993. 0000215C  B0AA 000A                cmp.l      D0, [A2 + 0xA]
  2994. 00002160  6D10                     blt        +0x12 /* 00002172 */
  2995. 00002162  206B 0098                movea.l    A0, [A3 + 0x98]
  2996. 00002166  202A 0006                move.l     D0, [A2 + 0x6]
  2997. 0000216A  0C30 0001 0800           cmpi.b     [A0 + D0], 0x1
  2998. 00002170  6706                     beq        +0x8 /* 00002178 */
  2999. label00002172:
  3000. 00002172  7001                     moveq.l    D0, 0x01
  3001. 00002174  2F40 003A                move.l     [A7 + 0x3A], D0
  3002. label00002178:
  3003. 00002178  0804 000C                btst.b     D4, 0xC
  3004. 0000217C  6714                     beq        +0x16 /* 00002192 */
  3005. 0000217E  2004                     move.l     D0, D4
  3006. 00002180  0280 0000 0604           andi.l     D0, 0x604
  3007. 00002186  56C0                     sne        D0
  3008. 00002188  4400                     neg.b      D0
  3009. 0000218A  4880                     ext.w      D0
  3010. 0000218C  48C0                     ext.l      D0
  3011. 0000218E  2F40 002E                move.l     [A7 + 0x2E], D0
  3012. label00002192:
  3013. 00002192  42A7                     clr.l      -[A7]
  3014. 00002194  42A7                     clr.l      -[A7]
  3015. 00002196  42A7                     clr.l      -[A7]
  3016. 00002198  42A7                     clr.l      -[A7]
  3017. 0000219A  2F0A                     move.l     -[A7], A2
  3018. 0000219C  2F0B                     move.l     -[A7], A3
  3019. 0000219E  4EBA F380                jsr        [PC - 0xC80 /* 00001520 */]
  3020. 000021A2  3600                     move.w     D3, D0
  3021. 000021A4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3022. 000021A8  6600 01A2                bne        +0x1A4 /* 0000234C */
  3023. 000021AC  4AAB 007C                tst.l      [A3 + 0x7C]
  3024. 000021B0  671E                     beq        +0x20 /* 000021D0 */
  3025. 000021B2  4AAB 006C                tst.l      [A3 + 0x6C]
  3026. 000021B6  6618                     bne        +0x1A /* 000021D0 */
  3027. 000021B8  4AAA 000A                tst.l      [A2 + 0xA]
  3028. 000021BC  6712                     beq        +0x14 /* 000021D0 */
  3029. 000021BE  206B 0098                movea.l    A0, [A3 + 0x98]
  3030. 000021C2  D1EA 0006                add.l      A0, [A2 + 0x6]
  3031. 000021C6  2748 006C                move.l     [A3 + 0x6C], A0
  3032. 000021CA  276A 000A 0070           move.l     [A3 + 0x70], [A2 + 0xA]
  3033. label000021D0:
  3034. 000021D0  7001                     moveq.l    D0, 0x01
  3035. 000021D2  B0AA 000A                cmp.l      D0, [A2 + 0xA]
  3036. 000021D6  6612                     bne        +0x14 /* 000021EA */
  3037. 000021D8  206B 0098                movea.l    A0, [A3 + 0x98]
  3038. 000021DC  202A 0006                move.l     D0, [A2 + 0x6]
  3039. 000021E0  0C30 0001 0800           cmpi.b     [A0 + D0], 0x1
  3040. 000021E6  6700 0164                beq        +0x166 /* 0000234C */
  3041. label000021EA:
  3042. 000021EA  3F2F 004C                move.w     -[A7], [A7 + 0x4C]
  3043. 000021EE  302F 0038                move.w     D0, [A7 + 0x38]
  3044. 000021F2  48C0                     ext.l      D0
  3045. 000021F4  3214                     move.w     D1, [A4]
  3046. 000021F6  48C1                     ext.l      D1
  3047. 000021F8  D280                     add.l      D1, D0
  3048. 000021FA  3F01                     move.w     -[A7], D1
  3049. 000021FC  A893                     syscall    MoveTo
  3050. 000021FE  3F2F 0038                move.w     -[A7], [A7 + 0x38]
  3051. 00002202  3F14                     move.w     -[A7], [A4]
  3052. 00002204  3F2F 0050                move.w     -[A7], [A7 + 0x50]
  3053. 00002208  2F2A 000A                move.l     -[A7], [A2 + 0xA]
  3054. 0000220C  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  3055. 00002210  4EAD DABA                jsr        [A5 - 0x2546]
  3056. 00002214  4AAD ACDC                tst.l      [A5 - 0x5324]
  3057. 00002218  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3058. 0000221C  671E                     beq        +0x20 /* 0000223C */
  3059. 0000221E  3F2A 001A                move.w     -[A7], [A2 + 0x1A]
  3060. 00002222  302F 0038                move.w     D0, [A7 + 0x38]
  3061. 00002226  48C0                     ext.l      D0
  3062. 00002228  3214                     move.w     D1, [A4]
  3063. 0000222A  48C1                     ext.l      D1
  3064. 0000222C  D280                     add.l      D1, D0
  3065. 0000222E  5281                     addq.l     D1, 1
  3066. 00002230  3F01                     move.w     -[A7], D1
  3067. 00002232  3F2F 0050                move.w     -[A7], [A7 + 0x50]
  3068. 00002236  4EBA 1602                jsr        [PC + 0x1602 /* 0000383A */]
  3069. 0000223A  5C4F                     addq.w     A7, 6
  3070. label0000223C:
  3071. 0000223C  4AAD ACD8                tst.l      [A5 - 0x5328]
  3072. 00002240  671E                     beq        +0x20 /* 00002260 */
  3073. 00002242  3F2A 001A                move.w     -[A7], [A2 + 0x1A]
  3074. 00002246  302F 0038                move.w     D0, [A7 + 0x38]
  3075. 0000224A  48C0                     ext.l      D0
  3076. 0000224C  3214                     move.w     D1, [A4]
  3077. 0000224E  48C1                     ext.l      D1
  3078. 00002250  D280                     add.l      D1, D0
  3079. 00002252  5281                     addq.l     D1, 1
  3080. 00002254  3F01                     move.w     -[A7], D1
  3081. 00002256  3F2F 0050                move.w     -[A7], [A7 + 0x50]
  3082. 0000225A  4EBA 1604                jsr        [PC + 0x1604 /* 00003860 */]
  3083. 0000225E  5C4F                     addq.w     A7, 6
  3084. label00002260:
  3085. 00002260  302A 001A                move.w     D0, [A2 + 0x1A]
  3086. 00002264  48C0                     ext.l      D0
  3087. 00002266  322F 004C                move.w     D1, [A7 + 0x4C]
  3088. 0000226A  48C1                     ext.l      D1
  3089. 0000226C  D280                     add.l      D1, D0
  3090. 0000226E  3F01                     move.w     -[A7], D1
  3091. 00002270  302F 0038                move.w     D0, [A7 + 0x38]
  3092. 00002274  48C0                     ext.l      D0
  3093. 00002276  3214                     move.w     D1, [A4]
  3094. 00002278  48C1                     ext.l      D1
  3095. 0000227A  D280                     add.l      D1, D0
  3096. 0000227C  3F01                     move.w     -[A7], D1
  3097. 0000227E  A893                     syscall    MoveTo
  3098. 00002280  0C2F 0002 008A           cmpi.b     [A7 + 0x8A], 0x2
  3099. 00002286  6700 00BA                beq        +0xBC /* 00002342 */
  3100. 0000228A  4A52                     tst.w      [A2]
  3101. 0000228C  6700 00B4                beq        +0xB6 /* 00002342 */
  3102. 00002290  3F54 003E                move.w     [A7 + 0x3E], [A4]
  3103. 00002294  4AAF 002E                tst.l      [A7 + 0x2E]
  3104. 00002298  6732                     beq        +0x34 /* 000022CC */
  3105. 0000229A  302D AB3C                move.w     D0, [A5 - 0x54C4]
  3106. 0000229E  48C0                     ext.l      D0
  3107. 000022A0  362D AB40                move.w     D3, [A5 - 0x54C0]
  3108. 000022A4  48C3                     ext.l      D3
  3109. 000022A6  9680                     sub.l      D3, D0
  3110. 000022A8  3F6F 0024 0040           move.w     [A7 + 0x40], [A7 + 0x24]
  3111. 000022AE  B66F 0038                cmp.w      D3, [A7 + 0x38]
  3112. 000022B2  6E06                     bgt        +0x8 /* 000022BA */
  3113. 000022B4  302F 0038                move.w     D0, [A7 + 0x38]
  3114. 000022B8  6002                     bra        +0x4 /* 000022BC */
  3115. label000022BA:
  3116. 000022BA  3003                     move.w     D0, D3
  3117. label000022BC:
  3118. 000022BC  48C0                     ext.l      D0
  3119. 000022BE  322F 003E                move.w     D1, [A7 + 0x3E]
  3120. 000022C2  48C1                     ext.l      D1
  3121. 000022C4  D280                     add.l      D1, D0
  3122. 000022C6  3F41 0042                move.w     [A7 + 0x42], D1
  3123. 000022CA  6018                     bra        +0x1A /* 000022E4 */
  3124. label000022CC:
  3125. 000022CC  3F6F 004C 0040           move.w     [A7 + 0x40], [A7 + 0x4C]
  3126. 000022D2  302F 0038                move.w     D0, [A7 + 0x38]
  3127. 000022D6  48C0                     ext.l      D0
  3128. 000022D8  322F 003E                move.w     D1, [A7 + 0x3E]
  3129. 000022DC  48C1                     ext.l      D1
  3130. 000022DE  D280                     add.l      D1, D0
  3131. 000022E0  3F41 0042                move.w     [A7 + 0x42], D1
  3132. label000022E4:
  3133. 000022E4  486F 004A                pea.l      [A7 + 0x4A]
  3134. 000022E8  A89A                     syscall    GetPen
  3135. 000022EA  3F6F 004C 0044           move.w     [A7 + 0x44], [A7 + 0x4C]
  3136. 000022F0  42A7                     clr.l      -[A7]
  3137. 000022F2  486F 0042                pea.l      [A7 + 0x42]
  3138. 000022F6  0C52 0004                cmpi.w     [A2], 0x4
  3139. 000022FA  6718                     beq        +0x1A /* 00002314 */
  3140. 000022FC  0C52 0003                cmpi.w     [A2], 0x3
  3141. 00002300  670E                     beq        +0x10 /* 00002310 */
  3142. 00002302  0C52 0002                cmpi.w     [A2], 0x2
  3143. 00002306  6704                     beq        +0x6 /* 0000230C */
  3144. 00002308  7000                     moveq.l    D0, 0x00
  3145. 0000230A  6002                     bra        +0x4 /* 0000230E */
  3146. label0000230C:
  3147. 0000230C  7001                     moveq.l    D0, 0x01
  3148. label0000230E:
  3149. 0000230E  6002                     bra        +0x4 /* 00002312 */
  3150. label00002310:
  3151. 00002310  7002                     moveq.l    D0, 0x02
  3152. label00002312:
  3153. 00002312  6002                     bra        +0x4 /* 00002316 */
  3154. label00002314:
  3155. 00002314  7003                     moveq.l    D0, 0x03
  3156. label00002316:
  3157. 00002316  1F00                     move.b     -[A7], D0
  3158. 00002318  2F2A 000A                move.l     -[A7], [A2 + 0xA]
  3159. 0000231C  206B 0098                movea.l    A0, [A3 + 0x98]
  3160. 00002320  202A 0006                move.l     D0, [A2 + 0x6]
  3161. 00002324  4870 0800                pea.l      [A0 + D0]
  3162. 00002328  42A7                     clr.l      -[A7]
  3163. 0000232A  2F2B 00F4                move.l     -[A7], [A3 + 0xF4]
  3164. 0000232E  2F06                     move.l     -[A7], D6
  3165. 00002330  2F2A 0012                move.l     -[A7], [A2 + 0x12]
  3166. 00002334  2F0E                     move.l     -[A7], A6
  3167. 00002336  2F0B                     move.l     -[A7], A3
  3168. 00002338  4EBA 01A4                jsr        [PC + 0x1A4 /* 000024DE */]
  3169. 0000233C  3600                     move.w     D3, D0
  3170. 0000233E  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  3171. label00002342:
  3172. 00002342  0804 000C                btst.b     D4, 0xC
  3173. 00002346  6604                     bne        +0x6 /* 0000234C */
  3174. 00002348  42AF 002E                clr.l      [A7 + 0x2E]
  3175. label0000234C:
  3176. 0000234C  52AF 0018                addq.l     [A7 + 0x18], 1
  3177. label00002350:
  3178. 00002350  202F 0018                move.l     D0, [A7 + 0x18]
  3179. 00002354  B0AD AD0A                cmp.l      D0, [A5 - 0x52F6]
  3180. 00002358  6C06                     bge        +0x8 /* 00002360 */
  3181. 0000235A  4A43                     tst.w      D3
  3182. 0000235C  6700 F952                beq        -0x6AC /* 00001CB0 */
  3183. label00002360:
  3184. 00002360  4AAB 007C                tst.l      [A3 + 0x7C]
  3185. 00002364  6744                     beq        +0x46 /* 000023AA */
  3186. 00002366  4A43                     tst.w      D3
  3187. 00002368  6640                     bne        +0x42 /* 000023AA */
  3188. 0000236A  486F 004A                pea.l      [A7 + 0x4A]
  3189. 0000236E  A89A                     syscall    GetPen
  3190. 00002370  302F 004C                move.w     D0, [A7 + 0x4C]
  3191. 00002374  B06B 0080                cmp.w      D0, [A3 + 0x80]
  3192. 00002378  672C                     beq        +0x2E /* 000023A6 */
  3193. 0000237A  4AAF 003A                tst.l      [A7 + 0x3A]
  3194. 0000237E  6726                     beq        +0x28 /* 000023A6 */
  3195. 00002380  42A7                     clr.l      -[A7]
  3196. 00002382  3F2B 0082                move.w     -[A7], [A3 + 0x82]
  3197. 00002386  3F2F 0052                move.w     -[A7], [A7 + 0x52]
  3198. 0000238A  486D AB3C                pea.l      [A5 - 0x54C4]
  3199. 0000238E  2F2F 003A                move.l     -[A7], [A7 + 0x3A]
  3200. 00002392  3F14                     move.w     -[A7], [A4]
  3201. 00002394  1F2F 009C                move.b     -[A7], [A7 + 0x9C]
  3202. 00002398  2F0E                     move.l     -[A7], A6
  3203. 0000239A  2F0B                     move.l     -[A7], A3
  3204. 0000239C  4EBA 0098                jsr        [PC + 0x98 /* 00002436 */]
  3205. 000023A0  3600                     move.w     D3, D0
  3206. 000023A2  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  3207. label000023A6:
  3208. 000023A6  42AB 006C                clr.l      [A3 + 0x6C]
  3209. label000023AA:
  3210. 000023AA  206D ACF6                movea.l    A0, [A5 - 0x530A]
  3211. 000023AE  A02A                     syscall    HUnlock
  3212. 000023B0  206D AD06                movea.l    A0, [A5 - 0x52FA]
  3213. 000023B4  A02A                     syscall    HUnlock
  3214. 000023B6  4AAF 003A                tst.l      [A7 + 0x3A]
  3215. 000023BA  6604                     bne        +0x6 /* 000023C0 */
  3216. 000023BC  426F 0038                clr.w      [A7 + 0x38]
  3217. label000023C0:
  3218. 000023C0  42AD AD0A                clr.l      [A5 - 0x52F6]
  3219. 000023C4  3745 0108                move.w     [A3 + 0x108], D5
  3220. 000023C8  276B 00EC 00F4           move.l     [A3 + 0xF4], [A3 + 0xEC]
  3221. 000023CE  42AB 00EC                clr.l      [A3 + 0xEC]
  3222. 000023D2  302F 0038                move.w     D0, [A7 + 0x38]
  3223. 000023D6  D154                     add.w      [A4], D0
  3224. 000023D8  3F2F 0038                move.w     -[A7], [A7 + 0x38]
  3225. 000023DC  2F0B                     move.l     -[A7], A3
  3226. 000023DE  4EBA 0028                jsr        [PC + 0x28 /* 00002408 */]
  3227. 000023E2  486F 0050                pea.l      [A7 + 0x50]
  3228. 000023E6  A89A                     syscall    GetPen
  3229. 000023E8  302B 0110                move.w     D0, [A3 + 0x110]
  3230. 000023EC  48C0                     ext.l      D0
  3231. 000023EE  322F 0052                move.w     D1, [A7 + 0x52]
  3232. 000023F2  48C1                     ext.l      D1
  3233. 000023F4  D280                     add.l      D1, D0
  3234. 000023F6  206F 008A                movea.l    A0, [A7 + 0x8A]
  3235. 000023FA  3081                     move.w     [A0], D1
  3236. 000023FC  3003                     move.w     D0, D3
  3237. 000023FE  4FEF 0054                lea.l      A7, [A7 + 0x54]
  3238. 00002402  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3239. 00002406  4E75                     rts
  3240. fn00002408:
  3241. 00002408  206F 0004                movea.l    A0, [A7 + 0x4]
  3242. 0000240C  4A68 010A                tst.w      [A0 + 0x10A]
  3243. 00002410  6722                     beq        +0x24 /* 00002434 */
  3244. 00002412  302F 0008                move.w     D0, [A7 + 0x8]
  3245. 00002416  9168 010A                sub.w      [A0 + 0x10A], D0
  3246. 0000241A  3028 010A                move.w     D0, [A0 + 0x10A]
  3247. 0000241E  48C0                     ext.l      D0
  3248. 00002420  4A80                     tst.l      D0
  3249. 00002422  6E10                     bgt        +0x12 /* 00002434 */
  3250. 00002424  4268 010A                clr.w      [A0 + 0x10A]
  3251. 00002428  4268 010E                clr.w      [A0 + 0x10E]
  3252. 0000242C  4268 0110                clr.w      [A0 + 0x110]
  3253. 00002430  4268 010C                clr.w      [A0 + 0x10C]
  3254. label00002434:
  3255. 00002434  4E75                     rts
  3256. fn00002436:
  3257. 00002436  48E7 1030                movem.l    -[A7], D3,A2,A3
  3258. 0000243A  514F                     subq.w     A7, 8
  3259. 0000243C  246F 0018                movea.l    A2, [A7 + 0x18]
  3260. 00002440  362F 0022                move.w     D3, [A7 + 0x22]
  3261. 00002444  266F 0028                movea.l    A3, [A7 + 0x28]
  3262. 00002448  4AAF 0030                tst.l      [A7 + 0x30]
  3263. 0000244C  6704                     beq        +0x6 /* 00002452 */
  3264. 0000244E  42AA 007C                clr.l      [A2 + 0x7C]
  3265. label00002452:
  3266. 00002452  0C2F 0002 0020           cmpi.b     [A7 + 0x20], 0x2
  3267. 00002458  660A                     bne        +0xC /* 00002464 */
  3268. 0000245A  7000                     moveq.l    D0, 0x00
  3269. 0000245C  504F                     addq.w     A7, 8
  3270. 0000245E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3271. 00002462  4E75                     rts
  3272. label00002464:
  3273. 00002464  3E83                     move.w     [A7], D3
  3274. 00002466  4AAF 0024                tst.l      [A7 + 0x24]
  3275. 0000246A  6724                     beq        +0x26 /* 00002490 */
  3276. 0000246C  3F6B 0002 0002           move.w     [A7 + 0x2], [A3 + 0x2]
  3277. 00002472  3F6B 0006 0006           move.w     [A7 + 0x6], [A3 + 0x6]
  3278. 00002478  302B 0004                move.w     D0, [A3 + 0x4]
  3279. 0000247C  48C0                     ext.l      D0
  3280. 0000247E  3203                     move.w     D1, D3
  3281. 00002480  48C1                     ext.l      D1
  3282. 00002482  D280                     add.l      D1, D0
  3283. 00002484  3013                     move.w     D0, [A3]
  3284. 00002486  48C0                     ext.l      D0
  3285. 00002488  9280                     sub.l      D1, D0
  3286. 0000248A  3F41 0004                move.w     [A7 + 0x4], D1
  3287. 0000248E  601C                     bra        +0x1E /* 000024AC */
  3288. label00002490:
  3289. 00002490  3F6A 0080 0002           move.w     [A7 + 0x2], [A2 + 0x80]
  3290. 00002496  3F6F 002C 0006           move.w     [A7 + 0x6], [A7 + 0x2C]
  3291. 0000249C  302F 002E                move.w     D0, [A7 + 0x2E]
  3292. 000024A0  48C0                     ext.l      D0
  3293. 000024A2  3203                     move.w     D1, D3
  3294. 000024A4  48C1                     ext.l      D1
  3295. 000024A6  D280                     add.l      D1, D0
  3296. 000024A8  3F41 0004                move.w     [A7 + 0x4], D1
  3297. label000024AC:
  3298. 000024AC  42A7                     clr.l      -[A7]
  3299. 000024AE  486F 0004                pea.l      [A7 + 0x4]
  3300. 000024B2  1F2A 0084                move.b     -[A7], [A2 + 0x84]
  3301. 000024B6  2F2A 0070                move.l     -[A7], [A2 + 0x70]
  3302. 000024BA  2F2A 006C                move.l     -[A7], [A2 + 0x6C]
  3303. 000024BE  42A7                     clr.l      -[A7]
  3304. 000024C0  42A7                     clr.l      -[A7]
  3305. 000024C2  2F2A 0078                move.l     -[A7], [A2 + 0x78]
  3306. 000024C6  2F2A 0074                move.l     -[A7], [A2 + 0x74]
  3307. 000024CA  2F2F 003E                move.l     -[A7], [A7 + 0x3E]
  3308. 000024CE  2F0A                     move.l     -[A7], A2
  3309. 000024D0  4EBA 000C                jsr        [PC + 0xC /* 000024DE */]
  3310. 000024D4  4FEF 0032                lea.l      A7, [A7 + 0x32]
  3311. 000024D8  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3312. 000024DC  4E75                     rts
  3313. fn000024DE:
  3314. 000024DE  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3315. 000024E2  4FEF FFD4                lea.l      A7, [A7 - 0x2C]
  3316. 000024E6  246F 0054                movea.l    A2, [A7 + 0x54]
  3317. 000024EA  266F 0058                movea.l    A3, [A7 + 0x58]
  3318. 000024EE  2C2F 005C                move.l     D6, [A7 + 0x5C]
  3319. 000024F2  2E2F 0068                move.l     D7, [A7 + 0x68]
  3320. 000024F6  286F 006C                movea.l    A4, [A7 + 0x6C]
  3321. 000024FA  262F 0070                move.l     D3, [A7 + 0x70]
  3322. 000024FE  2C6F 0076                movea.l    A6, [A7 + 0x76]
  3323. 00002502  42AF 0004                clr.l      [A7 + 0x4]
  3324. 00002506  7800                     moveq.l    D4, 0x00
  3325. 00002508  554F                     subq.w     A7, 2
  3326. 0000250A  2F0E                     move.l     -[A7], A6
  3327. 0000250C  A8AE                     syscall    EmptyRect
  3328. 0000250E  101F                     move.b     D0, [A7]+
  3329. 00002510  670C                     beq        +0xE /* 0000251E */
  3330. 00002512  7000                     moveq.l    D0, 0x00
  3331. 00002514  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  3332. 00002518  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3333. 0000251C  4E75                     rts
  3334. label0000251E:
  3335. 0000251E  4AAF 0064                tst.l      [A7 + 0x64]
  3336. 00002522  6770                     beq        +0x72 /* 00002594 */
  3337. 00002524  202A 00D4                move.l     D0, [A2 + 0xD4]
  3338. 00002528  7224                     moveq.l    D1, 0x24
  3339. 0000252A  4EAD D8F8                jsr        [A5 - 0x2708]
  3340. 0000252E  206B 0008                movea.l    A0, [A3 + 0x8]
  3341. 00002532  2250                     movea.l    A1, [A0]
  3342. 00002534  2F71 08E4 0004           move.l     [A7 + 0x4], [A1 + D0 - 0x28]
  3343. 0000253A  204C                     movea.l    A0, A4
  3344. 0000253C  226F 0004                movea.l    A1, [A7 + 0x4]
  3345. 00002540  2003                     move.l     D0, D3
  3346. 00002542  A9EF                     syscall    PtrAndHand
  3347. 00002544  3A00                     move.w     D5, D0
  3348. 00002546  670C                     beq        +0xE /* 00002554 */
  3349. 00002548  3005                     move.w     D0, D5
  3350. 0000254A  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  3351. 0000254E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3352. 00002552  4E75                     rts
  3353. label00002554:
  3354. 00002554  554F                     subq.w     A7, 2
  3355. 00002556  486F 0006                pea.l      [A7 + 0x6]
  3356. 0000255A  4EAD DA30                jsr        [A5 - 0x25D0]
  3357. 0000255E  301F                     move.w     D0, [A7]+
  3358. 00002560  3A00                     move.w     D5, D0
  3359. 00002562  670C                     beq        +0xE /* 00002570 */
  3360. 00002564  3005                     move.w     D0, D5
  3361. 00002566  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  3362. 0000256A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3363. 0000256E  4E75                     rts
  3364. label00002570:
  3365. 00002570  594F                     subq.w     A7, 4
  3366. 00002572  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3367. 00002576  4EAD D9AC                jsr        [A5 - 0x2654]
  3368. 0000257A  201F                     move.l     D0, [A7]+
  3369. 0000257C  2E80                     move.l     [A7], D0
  3370. 0000257E  202A 00D4                move.l     D0, [A2 + 0xD4]
  3371. 00002582  7224                     moveq.l    D1, 0x24
  3372. 00002584  4EAD D8F8                jsr        [A5 - 0x2708]
  3373. 00002588  206B 0008                movea.l    A0, [A3 + 0x8]
  3374. 0000258C  2250                     movea.l    A1, [A0]
  3375. 0000258E  2397 08F8                move.l     [A1 + D0 - 0x8], [A7]
  3376. 00002592  6048                     bra        +0x4A /* 000025DC */
  3377. label00002594:
  3378. 00002594  200C                     move.l     D0, A4
  3379. 00002596  6732                     beq        +0x34 /* 000025CA */
  3380. 00002598  4A83                     tst.l      D3
  3381. 0000259A  672E                     beq        +0x30 /* 000025CA */
  3382. 0000259C  2003                     move.l     D0, D3
  3383. 0000259E  A122                     syscall    NewHandle, flags=1
  3384. 000025A0  2F48 0004                move.l     [A7 + 0x4], A0
  3385. 000025A4  2008                     move.l     D0, A0
  3386. 000025A6  6612                     bne        +0x14 /* 000025BA */
  3387. 000025A8  554F                     subq.w     A7, 2
  3388. 000025AA  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3389. 000025AE  301F                     move.w     D0, [A7]+
  3390. 000025B0  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  3391. 000025B4  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3392. 000025B8  4E75                     rts
  3393. label000025BA:
  3394. 000025BA  204C                     movea.l    A0, A4
  3395. 000025BC  226F 0004                movea.l    A1, [A7 + 0x4]
  3396. 000025C0  2251                     movea.l    A1, [A1]
  3397. 000025C2  2003                     move.l     D0, D3
  3398. 000025C4  A02E                     syscall    BlockMove/BlockMoveData
  3399. 000025C6  2803                     move.l     D4, D3
  3400. 000025C8  6012                     bra        +0x14 /* 000025DC */
  3401. label000025CA:
  3402. 000025CA  2F47 0004                move.l     [A7 + 0x4], D7
  3403. 000025CE  594F                     subq.w     A7, 4
  3404. 000025D0  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3405. 000025D4  4EAD D9AC                jsr        [A5 - 0x2654]
  3406. 000025D8  201F                     move.l     D0, [A7]+
  3407. 000025DA  2800                     move.l     D4, D0
  3408. label000025DC:
  3409. 000025DC  202A 00D4                move.l     D0, [A2 + 0xD4]
  3410. 000025E0  B0AA 00D8                cmp.l      D0, [A2 + 0xD8]
  3411. 000025E4  6D66                     blt        +0x68 /* 0000264C */
  3412. 000025E6  202A 00D4                move.l     D0, [A2 + 0xD4]
  3413. 000025EA  B0AA 00DC                cmp.l      D0, [A2 + 0xDC]
  3414. 000025EE  6D58                     blt        +0x5A /* 00002648 */
  3415. 000025F0  7015                     moveq.l    D0, 0x15
  3416. 000025F2  D0AA 00DC                add.l      D0, [A2 + 0xDC]
  3417. 000025F6  7224                     moveq.l    D1, 0x24
  3418. 000025F8  4EAD D8F8                jsr        [A5 - 0x2708]
  3419. 000025FC  206B 0008                movea.l    A0, [A3 + 0x8]
  3420. 00002600  A024                     syscall    SetHandleSize
  3421. 00002602  554F                     subq.w     A7, 2
  3422. 00002604  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3423. 00002608  301F                     move.w     D0, [A7]+
  3424. 0000260A  3600                     move.w     D3, D0
  3425. 0000260C  6712                     beq        +0x14 /* 00002620 */
  3426. 0000260E  206F 0004                movea.l    A0, [A7 + 0x4]
  3427. 00002612  A023                     syscall    DisposHandle/DisposeHandle
  3428. 00002614  3003                     move.w     D0, D3
  3429. 00002616  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  3430. 0000261A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3431. 0000261E  4E75                     rts
  3432. label00002620:
  3433. 00002620  4878 02F4                push.l     0x2F4
  3434. 00002624  42A7                     clr.l      -[A7]
  3435. 00002626  202A 00DC                move.l     D0, [A2 + 0xDC]
  3436. 0000262A  7224                     moveq.l    D1, 0x24
  3437. 0000262C  4EAD D8F8                jsr        [A5 - 0x2708]
  3438. 00002630  206B 0008                movea.l    A0, [A3 + 0x8]
  3439. 00002634  2050                     movea.l    A0, [A0]
  3440. 00002636  D1C0                     add.l      A0, D0
  3441. 00002638  4850                     pea.l      [A0]
  3442. 0000263A  4EAD D94C                jsr        [A5 - 0x26B4]
  3443. 0000263E  7015                     moveq.l    D0, 0x15
  3444. 00002640  D1AA 00DC                add.l      [A2 + 0xDC], D0
  3445. 00002644  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3446. label00002648:
  3447. 00002648  52AA 00D8                addq.l     [A2 + 0xD8], 1
  3448. label0000264C:
  3449. 0000264C  2F56 0008                move.l     [A7 + 0x8], [A6]
  3450. 00002650  2F6E 0004 000C           move.l     [A7 + 0xC], [A6 + 0x4]
  3451. 00002656  2F6F 0004 0010           move.l     [A7 + 0x10], [A7 + 0x4]
  3452. 0000265C  2F6B 0004 0014           move.l     [A7 + 0x14], [A3 + 0x4]
  3453. 00002662  2F44 0024                move.l     [A7 + 0x24], D4
  3454. 00002666  1F7C 0001 0029           move.b     [A7 + 0x29], 0x1
  3455. 0000266C  2F6F 0060 0018           move.l     [A7 + 0x18], [A7 + 0x60]
  3456. 00002672  1F6F 007D 002B           move.b     [A7 + 0x2B], [A7 + 0x7D]
  3457. 00002678  2F46 001C                move.l     [A7 + 0x1C], D6
  3458. 0000267C  42AF 0020                clr.l      [A7 + 0x20]
  3459. 00002680  1F6F 0074 002A           move.b     [A7 + 0x2A], [A7 + 0x74]
  3460. 00002686  102F 0074                move.b     D0, [A7 + 0x74]
  3461. 0000268A  4880                     ext.w      D0
  3462. 0000268C  48C0                     ext.l      D0
  3463. 0000268E  670E                     beq        +0x10 /* 0000269E */
  3464. 00002690  5380                     subq.l     D0, 1
  3465. 00002692  670A                     beq        +0xC /* 0000269E */
  3466. 00002694  5380                     subq.l     D0, 1
  3467. 00002696  6732                     beq        +0x34 /* 000026CA */
  3468. 00002698  5380                     subq.l     D0, 1
  3469. 0000269A  6702                     beq        +0x4 /* 0000269E */
  3470. 0000269C  4E71                     nop
  3471. label0000269E:
  3472. 0000269E  022F 00DF 0028           andi.b     [A7 + 0x28], 0xDF
  3473. 000026A4  022F 00EF 0028           andi.b     [A7 + 0x28], 0xEF
  3474. 000026AA  4A86                     tst.l      D6
  3475. 000026AC  6C0E                     bge        +0x10 /* 000026BC */
  3476. 000026AE  002F 0040 0028           ori.b      [A7 + 0x28], 0x40 /* '@' */
  3477. 000026B4  022F 007F 0028           andi.b     [A7 + 0x28], 0x7F
  3478. 000026BA  603E                     bra        +0x40 /* 000026FA */
  3479. label000026BC:
  3480. 000026BC  022F 00BF 0028           andi.b     [A7 + 0x28], 0xBF
  3481. 000026C2  002F 0080 0028           ori.b      [A7 + 0x28], 0x80
  3482. 000026C8  6030                     bra        +0x32 /* 000026FA */
  3483. label000026CA:
  3484. 000026CA  2F46 001C                move.l     [A7 + 0x1C], D6
  3485. 000026CE  022F 007F 0028           andi.b     [A7 + 0x28], 0x7F
  3486. 000026D4  002F 0020 0028           ori.b      [A7 + 0x28], 0x20 /* ' ' */
  3487. 000026DA  022F 00BF 0028           andi.b     [A7 + 0x28], 0xBF
  3488. 000026E0  4A87                     tst.l      D7
  3489. 000026E2  56C0                     sne        D0
  3490. 000026E4  4400                     neg.b      D0
  3491. 000026E6  4880                     ext.w      D0
  3492. 000026E8  48C0                     ext.l      D0
  3493. 000026EA  E908                     lsl        D0.b, 4
  3494. 000026EC  0200 0010                andi.b     D0, 0x10
  3495. 000026F0  022F 00EF 0028           andi.b     [A7 + 0x28], 0xEF
  3496. 000026F6  812F 0028                or.b       [A7 + 0x28], D0
  3497. label000026FA:
  3498. 000026FA  486D F6F0                pea.l      [A5 - 0x910]
  3499. 000026FE  4878 0024                push.l     0x24 /* '$' */
  3500. 00002702  202A 00D4                move.l     D0, [A2 + 0xD4]
  3501. 00002706  52AA 00D4                addq.l     [A2 + 0xD4], 1
  3502. 0000270A  2F00                     move.l     -[A7], D0
  3503. 0000270C  206B 0008                movea.l    A0, [A3 + 0x8]
  3504. 00002710  2F10                     move.l     -[A7], [A0]
  3505. 00002712  486F 0018                pea.l      [A7 + 0x18]
  3506. 00002716  4EAD E5D0                jsr        [A5 - 0x1A30]
  3507. 0000271A  7000                     moveq.l    D0, 0x00
  3508. 0000271C  4FEF 0040                lea.l      A7, [A7 + 0x40]
  3509. 00002720  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3510. 00002724  4E75                     rts
  3511. 00002726  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  3512. 0000272A  246F 001C                movea.l    A2, [A7 + 0x1C]
  3513. 0000272E  266F 0020                movea.l    A3, [A7 + 0x20]
  3514. 00002732  282A 001C                move.l     D4, [A2 + 0x1C]
  3515. 00002736  262B 001C                move.l     D3, [A3 + 0x1C]
  3516. 0000273A  B883                     cmp.l      D4, D3
  3517. 0000273C  6D04                     blt        +0x6 /* 00002742 */
  3518. 0000273E  2003                     move.l     D0, D3
  3519. 00002740  6002                     bra        +0x4 /* 00002744 */
  3520. label00002742:
  3521. 00002742  2004                     move.l     D0, D4
  3522. label00002744:
  3523. 00002744  2C00                     move.l     D6, D0
  3524. 00002746  4A2A 0023                tst.b      [A2 + 0x23]
  3525. 0000274A  6606                     bne        +0x8 /* 00002752 */
  3526. 0000274C  4A2B 0023                tst.b      [A3 + 0x23]
  3527. 00002750  671A                     beq        +0x1C /* 0000276C */
  3528. label00002752:
  3529. 00002752  102B 0023                move.b     D0, [A3 + 0x23]
  3530. 00002756  4880                     ext.w      D0
  3531. 00002758  48C0                     ext.l      D0
  3532. 0000275A  122A 0023                move.b     D1, [A2 + 0x23]
  3533. 0000275E  4881                     ext.w      D1
  3534. 00002760  48C1                     ext.l      D1
  3535. 00002762  9280                     sub.l      D1, D0
  3536. 00002764  2001                     move.l     D0, D1
  3537. 00002766  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3538. 0000276A  4E75                     rts
  3539. label0000276C:
  3540. 0000276C  4A84                     tst.l      D4
  3541. 0000276E  6610                     bne        +0x12 /* 00002780 */
  3542. 00002770  4A83                     tst.l      D3
  3543. 00002772  6604                     bne        +0x6 /* 00002778 */
  3544. 00002774  7000                     moveq.l    D0, 0x00
  3545. 00002776  6002                     bra        +0x4 /* 0000277A */
  3546. label00002778:
  3547. 00002778  70FF                     moveq.l    D0, 0xFFFFFFFF
  3548. label0000277A:
  3549. 0000277A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3550. 0000277E  4E75                     rts
  3551. label00002780:
  3552. 00002780  4A83                     tst.l      D3
  3553. 00002782  6608                     bne        +0xA /* 0000278C */
  3554. 00002784  7001                     moveq.l    D0, 0x01
  3555. 00002786  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3556. 0000278A  4E75                     rts
  3557. label0000278C:
  3558. 0000278C  4EAD E450                jsr        [A5 - 0x1BB0]
  3559. 00002790  4A80                     tst.l      D0
  3560. 00002792  6732                     beq        +0x34 /* 000027C6 */
  3561. 00002794  206A 0008                movea.l    A0, [A2 + 0x8]
  3562. 00002798  A029                     syscall    HLock
  3563. 0000279A  206B 0008                movea.l    A0, [A3 + 0x8]
  3564. 0000279E  A029                     syscall    HLock
  3565. 000027A0  2F06                     move.l     -[A7], D6
  3566. 000027A2  206B 0008                movea.l    A0, [A3 + 0x8]
  3567. 000027A6  2F10                     move.l     -[A7], [A0]
  3568. 000027A8  206A 0008                movea.l    A0, [A2 + 0x8]
  3569. 000027AC  2F10                     move.l     -[A7], [A0]
  3570. 000027AE  4EAD E460                jsr        [A5 - 0x1BA0]
  3571. 000027B2  2A00                     move.l     D5, D0
  3572. 000027B4  206B 0008                movea.l    A0, [A3 + 0x8]
  3573. 000027B8  A02A                     syscall    HUnlock
  3574. 000027BA  206A 0008                movea.l    A0, [A2 + 0x8]
  3575. 000027BE  A02A                     syscall    HUnlock
  3576. 000027C0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3577. 000027C4  6018                     bra        +0x1A /* 000027DE */
  3578. label000027C6:
  3579. 000027C6  2F06                     move.l     -[A7], D6
  3580. 000027C8  206B 0008                movea.l    A0, [A3 + 0x8]
  3581. 000027CC  2F10                     move.l     -[A7], [A0]
  3582. 000027CE  206A 0008                movea.l    A0, [A2 + 0x8]
  3583. 000027D2  2F10                     move.l     -[A7], [A0]
  3584. 000027D4  4EAD E460                jsr        [A5 - 0x1BA0]
  3585. 000027D8  2A00                     move.l     D5, D0
  3586. 000027DA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3587. label000027DE:
  3588. 000027DE  4A85                     tst.l      D5
  3589. 000027E0  660E                     bne        +0x10 /* 000027F0 */
  3590. 000027E2  B883                     cmp.l      D4, D3
  3591. 000027E4  670A                     beq        +0xC /* 000027F0 */
  3592. 000027E6  2004                     move.l     D0, D4
  3593. 000027E8  9083                     sub.l      D0, D3
  3594. 000027EA  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3595. 000027EE  4E75                     rts
  3596. label000027F0:
  3597. 000027F0  2005                     move.l     D0, D5
  3598. 000027F2  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3599. 000027F6  4E75                     rts
  3600. fn000027F8:
  3601. 000027F8  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  3602. 000027FC  5D4F                     subq.w     A7, 6
  3603. 000027FE  382F 001E                move.w     D4, [A7 + 0x1E]
  3604. 00002802  3A2F 0020                move.w     D5, [A7 + 0x20]
  3605. 00002806  266F 0022                movea.l    A3, [A7 + 0x22]
  3606. 0000280A  4AAD ACC4                tst.l      [A5 - 0x533C]
  3607. 0000280E  672A                     beq        +0x2C /* 0000283A */
  3608. 00002810  206D ACC8                movea.l    A0, [A5 - 0x5338]
  3609. 00002814  2450                     movea.l    A2, [A0]
  3610. 00002816  7600                     moveq.l    D3, 0x00
  3611. 00002818  601A                     bra        +0x1C /* 00002834 */
  3612. label0000281A:
  3613. 0000281A  B852                     cmp.w      D4, [A2]
  3614. 0000281C  6612                     bne        +0x14 /* 00002830 */
  3615. 0000281E  BA6A 0002                cmp.w      D5, [A2 + 0x2]
  3616. 00002822  660C                     bne        +0xE /* 00002830 */
  3617. 00002824  36AA 0004                move.w     [A3], [A2 + 0x4]
  3618. 00002828  5C4F                     addq.w     A7, 6
  3619. 0000282A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3620. 0000282E  4E75                     rts
  3621. label00002830:
  3622. 00002830  5283                     addq.l     D3, 1
  3623. 00002832  5C8A                     addq.l     A2, 6
  3624. label00002834:
  3625. 00002834  B6AD ACC4                cmp.l      D3, [A5 - 0x533C]
  3626. 00002838  6DE0                     blt        -0x1E /* 0000281A */
  3627. label0000283A:
  3628. 0000283A  3005                     move.w     D0, D5
  3629. 0000283C  48C0                     ext.l      D0
  3630. 0000283E  7203                     moveq.l    D1, 0x03
  3631. 00002840  4EAD D904                jsr        [A5 - 0x26FC]
  3632. 00002844  D080                     add.l      D0, D0
  3633. 00002846  5280                     addq.l     D0, 1
  3634. 00002848  3600                     move.w     D3, D0
  3635. 0000284A  3683                     move.w     [A3], D3
  3636. 0000284C  6002                     bra        +0x4 /* 00002850 */
  3637. label0000284E:
  3638. 0000284E  5343                     subq.w     D3, 1
  3639. label00002850:
  3640. 00002850  4A43                     tst.w      D3
  3641. 00002852  670C                     beq        +0xE /* 00002860 */
  3642. 00002854  554F                     subq.w     A7, 2
  3643. 00002856  3F04                     move.w     -[A7], D4
  3644. 00002858  3F03                     move.w     -[A7], D3
  3645. 0000285A  A902                     syscall    RealFont
  3646. 0000285C  101F                     move.b     D0, [A7]+
  3647. 0000285E  67EE                     beq        -0x10 /* 0000284E */
  3648. label00002860:
  3649. 00002860  4A43                     tst.w      D3
  3650. 00002862  6702                     beq        +0x4 /* 00002866 */
  3651. 00002864  3683                     move.w     [A3], D3
  3652. label00002866:
  3653. 00002866  3E84                     move.w     [A7], D4
  3654. 00002868  3F45 0002                move.w     [A7 + 0x2], D5
  3655. 0000286C  3F53 0004                move.w     [A7 + 0x4], [A3]
  3656. 00002870  4AAD ACC8                tst.l      [A5 - 0x5338]
  3657. 00002874  6714                     beq        +0x16 /* 0000288A */
  3658. 00002876  41D7                     lea.l      A0, [A7]
  3659. 00002878  226D ACC8                movea.l    A1, [A5 - 0x5338]
  3660. 0000287C  7006                     moveq.l    D0, 0x06
  3661. 0000287E  A9EF                     syscall    PtrAndHand
  3662. 00002880  4A40                     tst.w      D0
  3663. 00002882  6622                     bne        +0x24 /* 000028A6 */
  3664. 00002884  52AD ACC4                addq.l     [A5 - 0x533C], 1
  3665. 00002888  601C                     bra        +0x1E /* 000028A6 */
  3666. label0000288A:
  3667. 0000288A  554F                     subq.w     A7, 2
  3668. 0000288C  486F 0002                pea.l      [A7 + 0x2]
  3669. 00002890  486D ACC8                pea.l      [A5 - 0x5338]
  3670. 00002894  4878 0006                push.l     0x6
  3671. 00002898  4EAD DA36                jsr        [A5 - 0x25CA]
  3672. 0000289C  301F                     move.w     D0, [A7]+
  3673. 0000289E  6606                     bne        +0x8 /* 000028A6 */
  3674. 000028A0  7001                     moveq.l    D0, 0x01
  3675. 000028A2  2B40 ACC4                move.l     [A5 - 0x533C], D0
  3676. label000028A6:
  3677. 000028A6  5C4F                     addq.w     A7, 6
  3678. 000028A8  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3679. 000028AC  4E75                     rts
  3680. fn000028AE:
  3681. 000028AE  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3682. 000028B2  4FEF FFEA                lea.l      A7, [A7 - 0x16]
  3683. 000028B6  3E2F 0040                move.w     D7, [A7 + 0x40]
  3684. 000028BA  2C6F 0050                movea.l    A6, [A7 + 0x50]
  3685. 000028BE  7601                     moveq.l    D3, 0x01
  3686. 000028C0  78FF                     moveq.l    D4, 0xFFFFFFFF
  3687. 000028C2  97CB                     sub.l      A3, A3
  3688. 000028C4  4AAD ACD4                tst.l      [A5 - 0x532C]
  3689. 000028C8  6758                     beq        +0x5A /* 00002922 */
  3690. 000028CA  7A00                     moveq.l    D5, 0x00
  3691. 000028CC  206D ACD4                movea.l    A0, [A5 - 0x532C]
  3692. 000028D0  2450                     movea.l    A2, [A0]
  3693. 000028D2  6048                     bra        +0x4A /* 0000291C */
  3694. label000028D4:
  3695. 000028D4  302A 0008                move.w     D0, [A2 + 0x8]
  3696. 000028D8  B06F 003E                cmp.w      D0, [A7 + 0x3E]
  3697. 000028DC  6638                     bne        +0x3A /* 00002916 */
  3698. 000028DE  BE6A 000A                cmp.w      D7, [A2 + 0xA]
  3699. 000028E2  6632                     bne        +0x34 /* 00002916 */
  3700. 000028E4  302A 000C                move.w     D0, [A2 + 0xC]
  3701. 000028E8  B06F 0042                cmp.w      D0, [A7 + 0x42]
  3702. 000028EC  6628                     bne        +0x2A /* 00002916 */
  3703. 000028EE  4A92                     tst.l      [A2]
  3704. 000028F0  6706                     beq        +0x8 /* 000028F8 */
  3705. 000028F2  2052                     movea.l    A0, [A2]
  3706. 000028F4  4A90                     tst.l      [A0]
  3707. 000028F6  6604                     bne        +0x6 /* 000028FC */
  3708. label000028F8:
  3709. 000028F8  7000                     moveq.l    D0, 0x00
  3710. 000028FA  6002                     bra        +0x4 /* 000028FE */
  3711. label000028FC:
  3712. 000028FC  7001                     moveq.l    D0, 0x01
  3713. label000028FE:
  3714. 000028FE  2C00                     move.l     D6, D0
  3715. 00002900  4A86                     tst.l      D6
  3716. 00002902  6708                     beq        +0xA /* 0000290C */
  3717. 00002904  2052                     movea.l    A0, [A2]
  3718. 00002906  A04A                     syscall    HNoPurge
  3719. 00002908  7600                     moveq.l    D3, 0x00
  3720. 0000290A  6016                     bra        +0x18 /* 00002922 */
  3721. label0000290C:
  3722. 0000290C  4A86                     tst.l      D6
  3723. 0000290E  6612                     bne        +0x14 /* 00002922 */
  3724. 00002910  2805                     move.l     D4, D5
  3725. 00002912  2652                     movea.l    A3, [A2]
  3726. 00002914  600C                     bra        +0xE /* 00002922 */
  3727. label00002916:
  3728. 00002916  5285                     addq.l     D5, 1
  3729. 00002918  7018                     moveq.l    D0, 0x18
  3730. 0000291A  D5C0                     add.l      A2, D0
  3731. label0000291C:
  3732. 0000291C  BAAD ACD0                cmp.l      D5, [A5 - 0x5330]
  3733. 00002920  6DB2                     blt        -0x4C /* 000028D4 */
  3734. label00002922:
  3735. 00002922  4A83                     tst.l      D3
  3736. 00002924  6700 0198                beq        +0x19A /* 00002ABE */
  3737. 00002928  200B                     move.l     D0, A3
  3738. 0000292A  6704                     beq        +0x6 /* 00002930 */
  3739. 0000292C  204B                     movea.l    A0, A3
  3740. 0000292E  A023                     syscall    DisposHandle/DisposeHandle
  3741. label00002930:
  3742. 00002930  203C 0000 0200           move.l     D0, 0x200
  3743. 00002936  A122                     syscall    NewHandle, flags=1
  3744. 00002938  2848                     movea.l    A4, A0
  3745. 0000293A  2008                     move.l     D0, A0
  3746. 0000293C  6612                     bne        +0x14 /* 00002950 */
  3747. 0000293E  554F                     subq.w     A7, 2
  3748. 00002940  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3749. 00002944  301F                     move.w     D0, [A7]+
  3750. 00002946  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3751. 0000294A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3752. 0000294E  4E75                     rts
  3753. label00002950:
  3754. 00002950  4A84                     tst.l      D4
  3755. 00002952  6C74                     bge        +0x76 /* 000029C8 */
  3756. 00002954  4AAD ACD4                tst.l      [A5 - 0x532C]
  3757. 00002958  661C                     bne        +0x1E /* 00002976 */
  3758. 0000295A  7060                     moveq.l    D0, 0x60
  3759. 0000295C  A122                     syscall    NewHandle, flags=1
  3760. 0000295E  2B48 ACD4                move.l     [A5 - 0x532C], A0
  3761. 00002962  554F                     subq.w     A7, 2
  3762. 00002964  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3763. 00002968  301F                     move.w     D0, [A7]+
  3764. 0000296A  3600                     move.w     D3, D0
  3765. 0000296C  663E                     bne        +0x40 /* 000029AC */
  3766. 0000296E  7004                     moveq.l    D0, 0x04
  3767. 00002970  2B40 ACCC                move.l     [A5 - 0x5334], D0
  3768. 00002974  6036                     bra        +0x38 /* 000029AC */
  3769. label00002976:
  3770. 00002976  202D ACD0                move.l     D0, [A5 - 0x5330]
  3771. 0000297A  5280                     addq.l     D0, 1
  3772. 0000297C  B0AD ACCC                cmp.l      D0, [A5 - 0x5334]
  3773. 00002980  6D28                     blt        +0x2A /* 000029AA */
  3774. 00002982  594F                     subq.w     A7, 4
  3775. 00002984  2F2D ACD4                move.l     -[A7], [A5 - 0x532C]
  3776. 00002988  4EAD D9AC                jsr        [A5 - 0x2654]
  3777. 0000298C  201F                     move.l     D0, [A7]+
  3778. 0000298E  7260                     moveq.l    D1, 0x60
  3779. 00002990  D081                     add.l      D0, D1
  3780. 00002992  206D ACD4                movea.l    A0, [A5 - 0x532C]
  3781. 00002996  A024                     syscall    SetHandleSize
  3782. 00002998  554F                     subq.w     A7, 2
  3783. 0000299A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3784. 0000299E  301F                     move.w     D0, [A7]+
  3785. 000029A0  3600                     move.w     D3, D0
  3786. 000029A2  6608                     bne        +0xA /* 000029AC */
  3787. 000029A4  58AD ACCC                addq.l     [A5 - 0x5334], 4
  3788. 000029A8  6002                     bra        +0x4 /* 000029AC */
  3789. label000029AA:
  3790. 000029AA  7600                     moveq.l    D3, 0x00
  3791. label000029AC:
  3792. 000029AC  4A43                     tst.w      D3
  3793. 000029AE  6710                     beq        +0x12 /* 000029C0 */
  3794. 000029B0  204C                     movea.l    A0, A4
  3795. 000029B2  A023                     syscall    DisposHandle/DisposeHandle
  3796. 000029B4  3003                     move.w     D0, D3
  3797. 000029B6  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3798. 000029BA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3799. 000029BE  4E75                     rts
  3800. label000029C0:
  3801. 000029C0  282D ACD0                move.l     D4, [A5 - 0x5330]
  3802. 000029C4  52AD ACD0                addq.l     [A5 - 0x5330], 1
  3803. label000029C8:
  3804. 000029C8  554F                     subq.w     A7, 2
  3805. 000029CA  3F2F 0040                move.w     -[A7], [A7 + 0x40]
  3806. 000029CE  3F07                     move.w     -[A7], D7
  3807. 000029D0  A902                     syscall    RealFont
  3808. 000029D2  101F                     move.b     D0, [A7]+
  3809. 000029D4  6748                     beq        +0x4A /* 00002A1E */
  3810. 000029D6  486F 0002                pea.l      [A7 + 0x2]
  3811. 000029DA  A835                     syscall    FontMetrics
  3812. 000029DC  206F 0012                movea.l    A0, [A7 + 0x12]
  3813. 000029E0  2450                     movea.l    A2, [A0]
  3814. 000029E2  2654                     movea.l    A3, [A4]
  3815. 000029E4  7600                     moveq.l    D3, 0x00
  3816. 000029E6  600A                     bra        +0xC /* 000029F2 */
  3817. label000029E8:
  3818. 000029E8  201A                     move.l     D0, [A2]+
  3819. 000029EA  7210                     moveq.l    D1, 0x10
  3820. 000029EC  E2A0                     asr        D0, D1
  3821. 000029EE  36C0                     move.w     [A3]+, D0
  3822. 000029F0  5283                     addq.l     D3, 1
  3823. label000029F2:
  3824. 000029F2  0C83 0000 0100           cmpi.l     D3, 0x100
  3825. 000029F8  6DEE                     blt        -0x10 /* 000029E8 */
  3826. 000029FA  2C2F 0002                move.l     D6, [A7 + 0x2]
  3827. 000029FE  DCAF 0006                add.l      D6, [A7 + 0x6]
  3828. 00002A02  DCAF 000A                add.l      D6, [A7 + 0xA]
  3829. 00002A06  7210                     moveq.l    D1, 0x10
  3830. 00002A08  E2A6                     asr        D6, D1
  3831. 00002A0A  4AAF 000A                tst.l      [A7 + 0xA]
  3832. 00002A0E  6602                     bne        +0x4 /* 00002A12 */
  3833. 00002A10  5246                     addq.w     D6, 1
  3834. label00002A12:
  3835. 00002A12  202F 0002                move.l     D0, [A7 + 0x2]
  3836. 00002A16  7210                     moveq.l    D1, 0x10
  3837. 00002A18  E2A0                     asr        D0, D1
  3838. 00002A1A  3E80                     move.w     [A7], D0
  3839. 00002A1C  602C                     bra        +0x2E /* 00002A4A */
  3840. label00002A1E:
  3841. 00002A1E  4857                     pea.l      [A7]
  3842. 00002A20  4EAD DD90                jsr        [A5 - 0x2270]
  3843. 00002A24  3C00                     move.w     D6, D0
  3844. 00002A26  7600                     moveq.l    D3, 0x00
  3845. 00002A28  584F                     addq.w     A7, 4
  3846. 00002A2A  6016                     bra        +0x18 /* 00002A42 */
  3847. label00002A2C:
  3848. 00002A2C  554F                     subq.w     A7, 2
  3849. 00002A2E  3F03                     move.w     -[A7], D3
  3850. 00002A30  A88D                     syscall    CharWidth
  3851. 00002A32  301F                     move.w     D0, [A7]+
  3852. 00002A34  3A00                     move.w     D5, D0
  3853. 00002A36  2003                     move.l     D0, D3
  3854. 00002A38  D080                     add.l      D0, D0
  3855. 00002A3A  2054                     movea.l    A0, [A4]
  3856. 00002A3C  3185 0800                move.w     [A0 + D0], D5
  3857. 00002A40  5283                     addq.l     D3, 1
  3858. label00002A42:
  3859. 00002A42  0C83 0000 0100           cmpi.l     D3, 0x100
  3860. 00002A48  6DE2                     blt        -0x1C /* 00002A2C */
  3861. label00002A4A:
  3862. 00002A4A  554F                     subq.w     A7, 2
  3863. 00002A4C  2F3C 8200 0000           move.l     -[A7], 0x82000000
  3864. 00002A52  A8B5                     syscall    ScriptUtil
  3865. 00002A54  301F                     move.w     D0, [A7]+
  3866. 00002A56  48C0                     ext.l      D0
  3867. 00002A58  2600                     move.l     D3, D0
  3868. 00002A5A  594F                     subq.w     A7, 4
  3869. 00002A5C  3F03                     move.w     -[A7], D3
  3870. 00002A5E  3F3C 005A                move.w     -[A7], 0x5A /* 'Z' */
  3871. 00002A62  2F3C 8404 000C           move.l     -[A7], 0x8404000C
  3872. 00002A68  A8B5                     syscall    ScriptUtil
  3873. 00002A6A  201F                     move.l     D0, [A7]+
  3874. 00002A6C  48C0                     ext.l      D0
  3875. 00002A6E  2640                     movea.l    A3, D0
  3876. 00002A70  594F                     subq.w     A7, 4
  3877. 00002A72  3F03                     move.w     -[A7], D3
  3878. 00002A74  3F3C 0006                move.w     -[A7], 0x6
  3879. 00002A78  2F3C 8404 000C           move.l     -[A7], 0x8404000C
  3880. 00002A7E  A8B5                     syscall    ScriptUtil
  3881. 00002A80  201F                     move.l     D0, [A7]+
  3882. 00002A82  2A00                     move.l     D5, D0
  3883. 00002A84  2004                     move.l     D0, D4
  3884. 00002A86  7218                     moveq.l    D1, 0x18
  3885. 00002A88  4EAD D8F8                jsr        [A5 - 0x2708]
  3886. 00002A8C  206D ACD4                movea.l    A0, [A5 - 0x532C]
  3887. 00002A90  2050                     movea.l    A0, [A0]
  3888. 00002A92  D1C0                     add.l      A0, D0
  3889. 00002A94  2448                     movea.l    A2, A0
  3890. 00002A96  356F 003E 0008           move.w     [A2 + 0x8], [A7 + 0x3E]
  3891. 00002A9C  3547 000A                move.w     [A2 + 0xA], D7
  3892. 00002AA0  356F 0042 000C           move.w     [A2 + 0xC], [A7 + 0x42]
  3893. 00002AA6  3557 0004                move.w     [A2 + 0x4], [A7]
  3894. 00002AAA  3546 0006                move.w     [A2 + 0x6], D6
  3895. 00002AAE  248C                     move.l     [A2], A4
  3896. 00002AB0  2543 0010                move.l     [A2 + 0x10], D3
  3897. 00002AB4  200B                     move.l     D0, A3
  3898. 00002AB6  3540 000E                move.w     [A2 + 0xE], D0
  3899. 00002ABA  2545 0014                move.l     [A2 + 0x14], D5
  3900. label00002ABE:
  3901. 00002ABE  206F 0044                movea.l    A0, [A7 + 0x44]
  3902. 00002AC2  30AA 0004                move.w     [A0], [A2 + 0x4]
  3903. 00002AC6  206F 0048                movea.l    A0, [A7 + 0x48]
  3904. 00002ACA  30AA 0006                move.w     [A0], [A2 + 0x6]
  3905. 00002ACE  206F 004C                movea.l    A0, [A7 + 0x4C]
  3906. 00002AD2  2092                     move.l     [A0], [A2]
  3907. 00002AD4  2CAA 0010                move.l     [A6], [A2 + 0x10]
  3908. 00002AD8  2D6A 0014 0004           move.l     [A6 + 0x4], [A2 + 0x14]
  3909. 00002ADE  3D6A 000E 0008           move.w     [A6 + 0x8], [A2 + 0xE]
  3910. 00002AE4  7000                     moveq.l    D0, 0x00
  3911. 00002AE6  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3912. 00002AEA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3913. 00002AEE  4E75                     rts
  3914. fn00002AF0:
  3915. 00002AF0  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  3916. 00002AF4  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  3917. 00002AF8  246F 003C                movea.l    A2, [A7 + 0x3C]
  3918. 00002AFC  286F 0042                movea.l    A4, [A7 + 0x42]
  3919. 00002B00  7C00                     moveq.l    D6, 0x00
  3920. 00002B02  7A00                     moveq.l    D5, 0x00
  3921. 00002B04  206A 00CC                movea.l    A0, [A2 + 0xCC]
  3922. 00002B08  3E28 000C                move.w     D7, [A0 + 0xC]
  3923. 00002B0C  48C7                     ext.l      D7
  3924. 00002B0E  2F0C                     move.l     -[A7], A4
  3925. 00002B10  2F0A                     move.l     -[A7], A2
  3926. 00002B12  4EBA 0E12                jsr        [PC + 0xE12 /* 00003926 */]
  3927. 00002B16  4AAA 0052                tst.l      [A2 + 0x52]
  3928. 00002B1A  504F                     addq.w     A7, 8
  3929. 00002B1C  6734                     beq        +0x36 /* 00002B52 */
  3930. 00002B1E  302A 005E                move.w     D0, [A2 + 0x5E]
  3931. 00002B22  48C0                     ext.l      D0
  3932. 00002B24  322A 0062                move.w     D1, [A2 + 0x62]
  3933. 00002B28  48C1                     ext.l      D1
  3934. 00002B2A  9280                     sub.l      D1, D0
  3935. 00002B2C  3F41 0040                move.w     [A7 + 0x40], D1
  3936. 00002B30  4AAA 0100                tst.l      [A2 + 0x100]
  3937. 00002B34  671C                     beq        +0x1E /* 00002B52 */
  3938. 00002B36  302A 005E                move.w     D0, [A2 + 0x5E]
  3939. 00002B3A  48C0                     ext.l      D0
  3940. 00002B3C  3E2A 0060                move.w     D7, [A2 + 0x60]
  3941. 00002B40  48C7                     ext.l      D7
  3942. 00002B42  9E80                     sub.l      D7, D0
  3943. 00002B44  4AAA 0056                tst.l      [A2 + 0x56]
  3944. 00002B48  6608                     bne        +0xA /* 00002B52 */
  3945. 00002B4A  206A 00CC                movea.l    A0, [A2 + 0xCC]
  3946. 00002B4E  DE68 000C                add.w      D7, [A0 + 0xC]
  3947. label00002B52:
  3948. 00002B52  302A 0110                move.w     D0, [A2 + 0x110]
  3949. 00002B56  48C0                     ext.l      D0
  3950. 00002B58  382F 0040                move.w     D4, [A7 + 0x40]
  3951. 00002B5C  48C4                     ext.l      D4
  3952. 00002B5E  9880                     sub.l      D4, D0
  3953. 00002B60  3014                     move.w     D0, [A4]
  3954. 00002B62  48C0                     ext.l      D0
  3955. 00002B64  9880                     sub.l      D4, D0
  3956. 00002B66  206A 00CC                movea.l    A0, [A2 + 0xCC]
  3957. 00002B6A  3628 000E                move.w     D3, [A0 + 0xE]
  3958. 00002B6E  3003                     move.w     D0, D3
  3959. 00002B70  48C0                     ext.l      D0
  3960. 00002B72  4A80                     tst.l      D0
  3961. 00002B74  6F02                     ble        +0x4 /* 00002B78 */
  3962. 00002B76  9843                     sub.w      D4, D3
  3963. label00002B78:
  3964. 00002B78  206A 00CC                movea.l    A0, [A2 + 0xCC]
  3965. 00002B7C  3628 0008                move.w     D3, [A0 + 0x8]
  3966. 00002B80  6760                     beq        +0x62 /* 00002BE2 */
  3967. 00002B82  266A 00CC                movea.l    A3, [A2 + 0xCC]
  3968. 00002B86  202B 0004                move.l     D0, [A3 + 0x4]
  3969. 00002B8A  D080                     add.l      D0, D0
  3970. 00002B8C  266A 00C4                movea.l    A3, [A2 + 0xC4]
  3971. 00002B90  D7C0                     add.l      A3, D0
  3972. 00002B92  6022                     bra        +0x24 /* 00002BB6 */
  3973. label00002B94:
  3974. 00002B94  7A00                     moveq.l    D5, 0x00
  3975. 00002B96  3A13                     move.w     D5, [A3]
  3976. 00002B98  0285 FFFF 3FFF           andi.l     D5, 0xFFFF3FFF
  3977. 00002B9E  3C13                     move.w     D6, [A3]
  3978. 00002BA0  0286 0000 C000           andi.l     D6, 0xC000
  3979. 00002BA6  3004                     move.w     D0, D4
  3980. 00002BA8  48C0                     ext.l      D0
  3981. 00002BAA  7200                     moveq.l    D1, 0x00
  3982. 00002BAC  3205                     move.w     D1, D5
  3983. 00002BAE  B280                     cmp.l      D1, D0
  3984. 00002BB0  6E08                     bgt        +0xA /* 00002BBA */
  3985. 00002BB2  5343                     subq.w     D3, 1
  3986. 00002BB4  548B                     addq.l     A3, 2
  3987. label00002BB6:
  3988. 00002BB6  4A43                     tst.w      D3
  3989. 00002BB8  66DA                     bne        -0x24 /* 00002B94 */
  3990. label00002BBA:
  3991. 00002BBA  4A43                     tst.w      D3
  3992. 00002BBC  6724                     beq        +0x26 /* 00002BE2 */
  3993. 00002BBE  4A46                     tst.w      D6
  3994. 00002BC0  670E                     beq        +0x10 /* 00002BD0 */
  3995. 00002BC2  302F 0040                move.w     D0, [A7 + 0x40]
  3996. 00002BC6  48C0                     ext.l      D0
  3997. 00002BC8  7200                     moveq.l    D1, 0x00
  3998. 00002BCA  3205                     move.w     D1, D5
  3999. 00002BCC  B280                     cmp.l      D1, D0
  4000. 00002BCE  6D0C                     blt        +0xE /* 00002BDC */
  4001. label00002BD0:
  4002. 00002BD0  7C00                     moveq.l    D6, 0x00
  4003. 00002BD2  7000                     moveq.l    D0, 0x00
  4004. 00002BD4  3005                     move.w     D0, D5
  4005. 00002BD6  2F40 0014                move.l     [A7 + 0x14], D0
  4006. 00002BDA  6006                     bra        +0x8 /* 00002BE2 */
  4007. label00002BDC:
  4008. 00002BDC  3044                     movea.w    A0, D4
  4009. 00002BDE  2F48 0014                move.l     [A7 + 0x14], A0
  4010. label00002BE2:
  4011. 00002BE2  4A43                     tst.w      D3
  4012. 00002BE4  6634                     bne        +0x36 /* 00002C1A */
  4013. 00002BE6  7600                     moveq.l    D3, 0x00
  4014. 00002BE8  B847                     cmp.w      D4, D7
  4015. 00002BEA  6C04                     bge        +0x6 /* 00002BF0 */
  4016. 00002BEC  7601                     moveq.l    D3, 0x01
  4017. 00002BEE  6016                     bra        +0x18 /* 00002C06 */
  4018. label00002BF0:
  4019. 00002BF0  3004                     move.w     D0, D4
  4020. 00002BF2  48C0                     ext.l      D0
  4021. 00002BF4  7224                     moveq.l    D1, 0x24
  4022. 00002BF6  4EAD D904                jsr        [A5 - 0x26FC]
  4023. 00002BFA  5280                     addq.l     D0, 1
  4024. 00002BFC  7224                     moveq.l    D1, 0x24
  4025. 00002BFE  4EAD D8F8                jsr        [A5 - 0x2708]
  4026. 00002C02  2F40 0014                move.l     [A7 + 0x14], D0
  4027. label00002C06:
  4028. 00002C06  4A83                     tst.l      D3
  4029. 00002C08  660A                     bne        +0xC /* 00002C14 */
  4030. 00002C0A  3007                     move.w     D0, D7
  4031. 00002C0C  48C0                     ext.l      D0
  4032. 00002C0E  B0AF 0014                cmp.l      D0, [A7 + 0x14]
  4033. 00002C12  6F06                     ble        +0x8 /* 00002C1A */
  4034. label00002C14:
  4035. 00002C14  3047                     movea.w    A0, D7
  4036. 00002C16  2F48 0014                move.l     [A7 + 0x14], A0
  4037. label00002C1A:
  4038. 00002C1A  4A46                     tst.w      D6
  4039. 00002C1C  663E                     bne        +0x40 /* 00002C5C */
  4040. 00002C1E  42AA 0086                clr.l      [A2 + 0x86]
  4041. 00002C22  302F 0040                move.w     D0, [A7 + 0x40]
  4042. 00002C26  48C0                     ext.l      D0
  4043. 00002C28  90AF 0014                sub.l      D0, [A7 + 0x14]
  4044. 00002C2C  322A 010C                move.w     D1, [A2 + 0x10C]
  4045. 00002C30  48C1                     ext.l      D1
  4046. 00002C32  9081                     sub.l      D0, D1
  4047. 00002C34  3880                     move.w     [A4], D0
  4048. 00002C36  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4049. 00002C3A  3EA8 000E                move.w     [A7], [A0 + 0xE]
  4050. 00002C3E  3017                     move.w     D0, [A7]
  4051. 00002C40  48C0                     ext.l      D0
  4052. 00002C42  4A80                     tst.l      D0
  4053. 00002C44  6F04                     ble        +0x6 /* 00002C4A */
  4054. 00002C46  3017                     move.w     D0, [A7]
  4055. 00002C48  9154                     sub.w      [A4], D0
  4056. label00002C4A:
  4057. 00002C4A  4AAA 0052                tst.l      [A2 + 0x52]
  4058. 00002C4E  672E                     beq        +0x30 /* 00002C7E */
  4059. 00002C50  306A 005E                movea.w    A0, [A2 + 0x5E]
  4060. 00002C54  2008                     move.l     D0, A0
  4061. 00002C56  D1AF 0014                add.l      [A7 + 0x14], D0
  4062. 00002C5A  6022                     bra        +0x24 /* 00002C7E */
  4063. label00002C5C:
  4064. 00002C5C  7001                     moveq.l    D0, 0x01
  4065. 00002C5E  2540 0086                move.l     [A2 + 0x86], D0
  4066. 00002C62  256D AD0A 008A           move.l     [A2 + 0x8A], [A5 - 0x52F6]
  4067. 00002C68  3004                     move.w     D0, D4
  4068. 00002C6A  48C0                     ext.l      D0
  4069. 00002C6C  7200                     moveq.l    D1, 0x00
  4070. 00002C6E  3205                     move.w     D1, D5
  4071. 00002C70  9280                     sub.l      D1, D0
  4072. 00002C72  3541 008E                move.w     [A2 + 0x8E], D1
  4073. 00002C76  3554 0090                move.w     [A2 + 0x90], [A4]
  4074. 00002C7A  3546 0092                move.w     [A2 + 0x92], D6
  4075. label00002C7E:
  4076. 00002C7E  3F7C 0006 0002           move.w     [A7 + 0x2], 0x6
  4077. 00002C84  206A 00B0                movea.l    A0, [A2 + 0xB0]
  4078. 00002C88  2F68 0006 0008           move.l     [A7 + 0x8], [A0 + 0x6]
  4079. 00002C8E  7002                     moveq.l    D0, 0x02
  4080. 00002C90  B0AD ACC0                cmp.l      D0, [A5 - 0x5340]
  4081. 00002C94  57C0                     seq        D0
  4082. 00002C96  4400                     neg.b      D0
  4083. 00002C98  4880                     ext.w      D0
  4084. 00002C9A  48C0                     ext.l      D0
  4085. 00002C9C  2F00                     move.l     -[A7], D0
  4086. 00002C9E  3004                     move.w     D0, D4
  4087. 00002CA0  48C0                     ext.l      D0
  4088. 00002CA2  222F 0018                move.l     D1, [A7 + 0x18]
  4089. 00002CA6  9280                     sub.l      D1, D0
  4090. 00002CA8  3F01                     move.w     -[A7], D1
  4091. 00002CAA  42A7                     clr.l      -[A7]
  4092. 00002CAC  486F 000C                pea.l      [A7 + 0xC]
  4093. 00002CB0  2F0A                     move.l     -[A7], A2
  4094. 00002CB2  486D AD06                pea.l      [A5 - 0x52FA]
  4095. 00002CB6  4EBA EB38                jsr        [PC - 0x14C8 /* 000017F0 */]
  4096. 00002CBA  4FEF 002E                lea.l      A7, [A7 + 0x2E]
  4097. 00002CBE  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  4098. 00002CC2  4E75                     rts
  4099. fn00002CC4:
  4100. 00002CC4  48E7 1020                movem.l    -[A7], D3,A2
  4101. 00002CC8  246F 000C                movea.l    A2, [A7 + 0xC]
  4102. 00002CCC  7600                     moveq.l    D3, 0x00
  4103. label00002CCE:
  4104. 00002CCE  3012                     move.w     D0, [A2]
  4105. 00002CD0  48C0                     ext.l      D0
  4106. 00002CD2  5380                     subq.l     D0, 1
  4107. 00002CD4  0C80 0000 0014           cmpi.l     D0, 0x14
  4108. 00002CDA  6222                     bhi        +0x24 /* 00002CFE */
  4109. 00002CDC  5940                     subq.w     D0, 4
  4110. 00002CDE  6D1C                     blt        +0x1E /* 00002CFC */
  4111. 00002CE0  0440 0009                subi.w     D0, 0x9 /* '\t' */
  4112. 00002CE4  6D18                     blt        +0x1A /* 00002CFE */
  4113. 00002CE6  6714                     beq        +0x16 /* 00002CFC */
  4114. 00002CE8  5540                     subq.w     D0, 2
  4115. 00002CEA  6D12                     blt        +0x14 /* 00002CFE */
  4116. 00002CEC  6706                     beq        +0x8 /* 00002CF4 */
  4117. 00002CEE  5940                     subq.w     D0, 4
  4118. 00002CF0  6D0C                     blt        +0xE /* 00002CFE */
  4119. 00002CF2  6008                     bra        +0xA /* 00002CFC */
  4120. label00002CF4:
  4121. 00002CF4  2003                     move.l     D0, D3
  4122. 00002CF6  4CDF 0408                movem.l    D3,A2, [A7]+
  4123. 00002CFA  4E75                     rts
  4124. label00002CFC:
  4125. 00002CFC  5283                     addq.l     D3, 1
  4126. label00002CFE:
  4127. 00002CFE  7016                     moveq.l    D0, 0x16
  4128. 00002D00  D5C0                     add.l      A2, D0
  4129. 00002D02  60CA                     bra        -0x34 /* 00002CCE */
  4130. 00002D04  4CDF 0408                movem.l    D3,A2, [A7]+
  4131. 00002D08  4E75                     rts
  4132. fn00002D0A:
  4133. 00002D0A  554F                     subq.w     A7, 2
  4134. 00002D0C  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  4135. 00002D10  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4136. 00002D14  1F2F 0022                move.b     -[A7], [A7 + 0x22]
  4137. 00002D18  42A7                     clr.l      -[A7]
  4138. 00002D1A  42A7                     clr.l      -[A7]
  4139. 00002D1C  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4140. 00002D20  42A7                     clr.l      -[A7]
  4141. 00002D22  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  4142. 00002D26  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  4143. 00002D2A  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  4144. 00002D2E  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  4145. 00002D32  4EBA F7AA                jsr        [PC - 0x856 /* 000024DE */]
  4146. 00002D36  3F40 002A                move.w     [A7 + 0x2A], D0
  4147. 00002D3A  4AAF 004A                tst.l      [A7 + 0x4A]
  4148. 00002D3E  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  4149. 00002D42  6716                     beq        +0x18 /* 00002D5A */
  4150. 00002D44  4EAD DD70                jsr        [A5 - 0x2290]
  4151. 00002D48  A89E                     syscall    PenNormal
  4152. 00002D4A  4878 0021                push.l     0x21 /* '!' */
  4153. 00002D4E  A862                     syscall    ForeColor
  4154. 00002D50  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4155. 00002D54  A8A1                     syscall    FrameRect
  4156. 00002D56  4EAD DD78                jsr        [A5 - 0x2288]
  4157. label00002D5A:
  4158. 00002D5A  3017                     move.w     D0, [A7]
  4159. 00002D5C  544F                     addq.w     A7, 2
  4160. 00002D5E  4E75                     rts
  4161. fn00002D60:
  4162. 00002D60  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4163. 00002D64  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  4164. 00002D68  2A2F 0042                move.l     D5, [A7 + 0x42]
  4165. 00002D6C  382F 004A                move.w     D4, [A7 + 0x4A]
  4166. 00002D70  362F 004C                move.w     D3, [A7 + 0x4C]
  4167. 00002D74  2C6F 004E                movea.l    A6, [A7 + 0x4E]
  4168. 00002D78  286F 0052                movea.l    A4, [A7 + 0x52]
  4169. 00002D7C  2E2F 0056                move.l     D7, [A7 + 0x56]
  4170. 00002D80  246F 005A                movea.l    A2, [A7 + 0x5A]
  4171. 00002D84  4297                     clr.l      [A7]
  4172. 00002D86  47D7                     lea.l      A3, [A7]
  4173. 00002D88  486F 0008                pea.l      [A7 + 0x8]
  4174. 00002D8C  2F0B                     move.l     -[A7], A3
  4175. 00002D8E  42A7                     clr.l      -[A7]
  4176. 00002D90  486F 0010                pea.l      [A7 + 0x10]
  4177. 00002D94  2F05                     move.l     -[A7], D5
  4178. 00002D96  206F 004C                movea.l    A0, [A7 + 0x4C]
  4179. 00002D9A  3F28 0112                move.w     -[A7], [A0 + 0x112]
  4180. 00002D9E  4EAD DC70                jsr        [A5 - 0x2390]
  4181. 00002DA2  3C00                     move.w     D6, D0
  4182. 00002DA4  4FEF 0016                lea.l      A7, [A7 + 0x16]
  4183. 00002DA8  6600 00A8                bne        +0xAA /* 00002E52 */
  4184. 00002DAC  200E                     move.l     D0, A6
  4185. 00002DAE  6724                     beq        +0x26 /* 00002DD4 */
  4186. 00002DB0  486F 0008                pea.l      [A7 + 0x8]
  4187. 00002DB4  302F 000E                move.w     D0, [A7 + 0xE]
  4188. 00002DB8  48C0                     ext.l      D0
  4189. 00002DBA  3204                     move.w     D1, D4
  4190. 00002DBC  48C1                     ext.l      D1
  4191. 00002DBE  9280                     sub.l      D1, D0
  4192. 00002DC0  3F01                     move.w     -[A7], D1
  4193. 00002DC2  302F 000E                move.w     D0, [A7 + 0xE]
  4194. 00002DC6  48C0                     ext.l      D0
  4195. 00002DC8  3203                     move.w     D1, D3
  4196. 00002DCA  48C1                     ext.l      D1
  4197. 00002DCC  9280                     sub.l      D1, D0
  4198. 00002DCE  3F01                     move.w     -[A7], D1
  4199. 00002DD0  A8A8                     syscall    OffsetRect
  4200. 00002DD2  6022                     bra        +0x24 /* 00002DF6 */
  4201. label00002DD4:
  4202. 00002DD4  486F 0008                pea.l      [A7 + 0x8]
  4203. 00002DD8  302F 000E                move.w     D0, [A7 + 0xE]
  4204. 00002DDC  48C0                     ext.l      D0
  4205. 00002DDE  3204                     move.w     D1, D4
  4206. 00002DE0  48C1                     ext.l      D1
  4207. 00002DE2  9280                     sub.l      D1, D0
  4208. 00002DE4  3F01                     move.w     -[A7], D1
  4209. 00002DE6  302F 0012                move.w     D0, [A7 + 0x12]
  4210. 00002DEA  48C0                     ext.l      D0
  4211. 00002DEC  3203                     move.w     D1, D3
  4212. 00002DEE  48C1                     ext.l      D1
  4213. 00002DF0  9280                     sub.l      D1, D0
  4214. 00002DF2  3F01                     move.w     -[A7], D1
  4215. 00002DF4  A8A8                     syscall    OffsetRect
  4216. label00002DF6:
  4217. 00002DF6  200C                     move.l     D0, A4
  4218. 00002DF8  671A                     beq        +0x1C /* 00002E14 */
  4219. 00002DFA  486F 0008                pea.l      [A7 + 0x8]
  4220. 00002DFE  302F 000E                move.w     D0, [A7 + 0xE]
  4221. 00002E02  48C0                     ext.l      D0
  4222. 00002E04  322F 0012                move.w     D1, [A7 + 0x12]
  4223. 00002E08  48C1                     ext.l      D1
  4224. 00002E0A  9280                     sub.l      D1, D0
  4225. 00002E0C  4481                     neg.l      D1
  4226. 00002E0E  3F01                     move.w     -[A7], D1
  4227. 00002E10  4267                     clr.w      -[A7]
  4228. 00002E12  A8A8                     syscall    OffsetRect
  4229. label00002E14:
  4230. 00002E14  2F2F 0046                move.l     -[A7], [A7 + 0x46]
  4231. 00002E18  2F05                     move.l     -[A7], D5
  4232. 00002E1A  486F 0010                pea.l      [A7 + 0x10]
  4233. 00002E1E  4EAD DAC6                jsr        [A5 - 0x253A]
  4234. 00002E22  200A                     move.l     D0, A2
  4235. 00002E24  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4236. 00002E28  670A                     beq        +0xC /* 00002E34 */
  4237. 00002E2A  24AF 0008                move.l     [A2], [A7 + 0x8]
  4238. 00002E2E  256F 000C 0004           move.l     [A2 + 0x4], [A7 + 0xC]
  4239. label00002E34:
  4240. 00002E34  4A87                     tst.l      D7
  4241. 00002E36  671A                     beq        +0x1C /* 00002E52 */
  4242. 00002E38  302F 000E                move.w     D0, [A7 + 0xE]
  4243. 00002E3C  48C0                     ext.l      D0
  4244. 00002E3E  3204                     move.w     D1, D4
  4245. 00002E40  48C1                     ext.l      D1
  4246. 00002E42  D280                     add.l      D1, D0
  4247. 00002E44  302F 000A                move.w     D0, [A7 + 0xA]
  4248. 00002E48  48C0                     ext.l      D0
  4249. 00002E4A  9280                     sub.l      D1, D0
  4250. 00002E4C  3F01                     move.w     -[A7], D1
  4251. 00002E4E  3F03                     move.w     -[A7], D3
  4252. 00002E50  A893                     syscall    MoveTo
  4253. label00002E52:
  4254. 00002E52  3006                     move.w     D0, D6
  4255. 00002E54  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4256. 00002E58  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4257. 00002E5C  4E75                     rts
  4258. fn00002E5E:
  4259. 00002E5E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4260. 00002E62  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  4261. 00002E66  2C6F 0038                movea.l    A6, [A7 + 0x38]
  4262. 00002E6A  286F 003C                movea.l    A4, [A7 + 0x3C]
  4263. 00002E6E  2E2F 0040                move.l     D7, [A7 + 0x40]
  4264. 00002E72  266F 0044                movea.l    A3, [A7 + 0x44]
  4265. 00002E76  7800                     moveq.l    D4, 0x00
  4266. 00002E78  2047                     movea.l    A0, D7
  4267. 00002E7A  A029                     syscall    HLock
  4268. 00002E7C  2047                     movea.l    A0, D7
  4269. 00002E7E  2450                     movea.l    A2, [A0]
  4270. 00002E80  594F                     subq.w     A7, 4
  4271. 00002E82  2F07                     move.l     -[A7], D7
  4272. 00002E84  4EAD D9AC                jsr        [A5 - 0x2654]
  4273. 00002E88  201F                     move.l     D0, [A7]+
  4274. 00002E8A  7218                     moveq.l    D1, 0x18
  4275. 00002E8C  4EAD D8FE                jsr        [A5 - 0x2702]
  4276. 00002E90  2C00                     move.l     D6, D0
  4277. 00002E92  7A00                     moveq.l    D5, 0x00
  4278. 00002E94  6000 00DA                bra        +0xDC /* 00002F70 */
  4279. label00002E98:
  4280. 00002E98  42AF 000C                clr.l      [A7 + 0xC]
  4281. 00002E9C  4297                     clr.l      [A7]
  4282. 00002E9E  082A 0007 0014           btst.b     [A2 + 0x14], 0x7
  4283. 00002EA4  6704                     beq        +0x6 /* 00002EAA */
  4284. 00002EA6  7601                     moveq.l    D3, 0x01
  4285. 00002EA8  6018                     bra        +0x1A /* 00002EC2 */
  4286. label00002EAA:
  4287. 00002EAA  082A 0006 0014           btst.b     [A2 + 0x14], 0x6
  4288. 00002EB0  6704                     beq        +0x6 /* 00002EB6 */
  4289. 00002EB2  7602                     moveq.l    D3, 0x02
  4290. 00002EB4  600C                     bra        +0xE /* 00002EC2 */
  4291. label00002EB6:
  4292. 00002EB6  4AAA 000C                tst.l      [A2 + 0xC]
  4293. 00002EBA  6704                     beq        +0x6 /* 00002EC0 */
  4294. 00002EBC  7603                     moveq.l    D3, 0x03
  4295. 00002EBE  6002                     bra        +0x4 /* 00002EC2 */
  4296. label00002EC0:
  4297. 00002EC0  7600                     moveq.l    D3, 0x00
  4298. label00002EC2:
  4299. 00002EC2  0C03 0002                cmpi.b     D3, 0x2
  4300. 00002EC6  6620                     bne        +0x22 /* 00002EE8 */
  4301. 00002EC8  4AAA 0008                tst.l      [A2 + 0x8]
  4302. 00002ECC  6748                     beq        +0x4A /* 00002F16 */
  4303. 00002ECE  2F6A 0008 000C           move.l     [A7 + 0xC], [A2 + 0x8]
  4304. 00002ED4  554F                     subq.w     A7, 2
  4305. 00002ED6  486F 000E                pea.l      [A7 + 0xE]
  4306. 00002EDA  4EAD DA30                jsr        [A5 - 0x25D0]
  4307. 00002EDE  301F                     move.w     D0, [A7]+
  4308. 00002EE0  3800                     move.w     D4, D0
  4309. 00002EE2  6732                     beq        +0x34 /* 00002F16 */
  4310. 00002EE4  6000 0094                bra        +0x96 /* 00002F7A */
  4311. label00002EE8:
  4312. 00002EE8  4AAA 0008                tst.l      [A2 + 0x8]
  4313. 00002EEC  6728                     beq        +0x2A /* 00002F16 */
  4314. 00002EEE  4857                     pea.l      [A7]
  4315. 00002EF0  42A7                     clr.l      -[A7]
  4316. 00002EF2  42A7                     clr.l      -[A7]
  4317. 00002EF4  206A 0008                movea.l    A0, [A2 + 0x8]
  4318. 00002EF8  A029                     syscall    HLock
  4319. 00002EFA  206A 0008                movea.l    A0, [A2 + 0x8]
  4320. 00002EFE  2050                     movea.l    A0, [A0]
  4321. 00002F00  4850                     pea.l      [A0]
  4322. 00002F02  4EAD DB08                jsr        [A5 - 0x24F8]
  4323. 00002F06  3F00                     move.w     -[A7], D0
  4324. 00002F08  4EAD E1A0                jsr        [A5 - 0x1E60]
  4325. 00002F0C  206A 0008                movea.l    A0, [A2 + 0x8]
  4326. 00002F10  A02A                     syscall    HUnlock
  4327. 00002F12  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4328. label00002F16:
  4329. 00002F16  2F52 0004                move.l     [A7 + 0x4], [A2]
  4330. 00002F1A  2F6A 0004 0008           move.l     [A7 + 0x8], [A2 + 0x4]
  4331. 00002F20  486F 0004                pea.l      [A7 + 0x4]
  4332. 00002F24  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  4333. 00002F28  3F13                     move.w     -[A7], [A3]
  4334. 00002F2A  A8A8                     syscall    OffsetRect
  4335. 00002F2C  42A7                     clr.l      -[A7]
  4336. 00002F2E  102A 0014                move.b     D0, [A2 + 0x14]
  4337. 00002F32  E500                     asl        D0.b, 2
  4338. 00002F34  EE00                     asr        D0.b, 7
  4339. 00002F36  4880                     ext.w      D0
  4340. 00002F38  48C0                     ext.l      D0
  4341. 00002F3A  2F00                     move.l     -[A7], D0
  4342. 00002F3C  486F 000C                pea.l      [A7 + 0xC]
  4343. 00002F40  1F03                     move.b     -[A7], D3
  4344. 00002F42  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  4345. 00002F46  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  4346. 00002F4A  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  4347. 00002F4E  2F0C                     move.l     -[A7], A4
  4348. 00002F50  2F0E                     move.l     -[A7], A6
  4349. 00002F52  4EBA FDB6                jsr        [PC - 0x24A /* 00002D0A */]
  4350. 00002F56  3800                     move.w     D4, D0
  4351. 00002F58  4FEF 0022                lea.l      A7, [A7 + 0x22]
  4352. 00002F5C  670C                     beq        +0xE /* 00002F6A */
  4353. 00002F5E  4AAF 000C                tst.l      [A7 + 0xC]
  4354. 00002F62  6706                     beq        +0x8 /* 00002F6A */
  4355. 00002F64  206F 000C                movea.l    A0, [A7 + 0xC]
  4356. 00002F68  A023                     syscall    DisposHandle/DisposeHandle
  4357. label00002F6A:
  4358. 00002F6A  5285                     addq.l     D5, 1
  4359. 00002F6C  7018                     moveq.l    D0, 0x18
  4360. 00002F6E  D5C0                     add.l      A2, D0
  4361. label00002F70:
  4362. 00002F70  BA86                     cmp.l      D5, D6
  4363. 00002F72  6C06                     bge        +0x8 /* 00002F7A */
  4364. 00002F74  4A44                     tst.w      D4
  4365. 00002F76  6700 FF20                beq        -0xDE /* 00002E98 */
  4366. label00002F7A:
  4367. 00002F7A  2047                     movea.l    A0, D7
  4368. 00002F7C  A02A                     syscall    HUnlock
  4369. 00002F7E  3004                     move.w     D0, D4
  4370. 00002F80  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4371. 00002F84  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4372. 00002F88  4E75                     rts
  4373. fn00002F8A:
  4374. 00002F8A  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  4375. 00002F8E  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  4376. 00002F92  246F 003E                movea.l    A2, [A7 + 0x3E]
  4377. 00002F96  3A2F 0042                move.w     D5, [A7 + 0x42]
  4378. 00002F9A  382F 0044                move.w     D4, [A7 + 0x44]
  4379. 00002F9E  286F 0052                movea.l    A4, [A7 + 0x52]
  4380. 00002FA2  7600                     moveq.l    D3, 0x00
  4381. 00002FA4  486F 000C                pea.l      [A7 + 0xC]
  4382. 00002FA8  A874                     syscall    GetPort
  4383. 00002FAA  206F 000C                movea.l    A0, [A7 + 0xC]
  4384. 00002FAE  2668 0068                movea.l    A3, [A0 + 0x68]
  4385. 00002FB2  42A8 0068                clr.l      [A0 + 0x68]
  4386. 00002FB6  486F 000A                pea.l      [A7 + 0xA]
  4387. 00002FBA  486F 000C                pea.l      [A7 + 0xC]
  4388. 00002FBE  2F0A                     move.l     -[A7], A2
  4389. 00002FC0  4EAD E3A0                jsr        [A5 - 0x1C60]
  4390. 00002FC4  3F45 001E                move.w     [A7 + 0x1E], D5
  4391. 00002FC8  4AAF 0052                tst.l      [A7 + 0x52]
  4392. 00002FCC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4393. 00002FD0  6610                     bne        +0x12 /* 00002FE2 */
  4394. 00002FD2  302F 000A                move.w     D0, [A7 + 0xA]
  4395. 00002FD6  48C0                     ext.l      D0
  4396. 00002FD8  3204                     move.w     D1, D4
  4397. 00002FDA  48C1                     ext.l      D1
  4398. 00002FDC  9280                     sub.l      D1, D0
  4399. 00002FDE  2001                     move.l     D0, D1
  4400. 00002FE0  6004                     bra        +0x6 /* 00002FE6 */
  4401. label00002FE2:
  4402. 00002FE2  3004                     move.w     D0, D4
  4403. 00002FE4  48C0                     ext.l      D0
  4404. label00002FE6:
  4405. 00002FE6  3F40 0010                move.w     [A7 + 0x10], D0
  4406. 00002FEA  302F 0008                move.w     D0, [A7 + 0x8]
  4407. 00002FEE  48C0                     ext.l      D0
  4408. 00002FF0  322F 0012                move.w     D1, [A7 + 0x12]
  4409. 00002FF4  48C1                     ext.l      D1
  4410. 00002FF6  D280                     add.l      D1, D0
  4411. 00002FF8  3F41 0016                move.w     [A7 + 0x16], D1
  4412. 00002FFC  302F 000A                move.w     D0, [A7 + 0xA]
  4413. 00003000  48C0                     ext.l      D0
  4414. 00003002  322F 0010                move.w     D1, [A7 + 0x10]
  4415. 00003006  48C1                     ext.l      D1
  4416. 00003008  D280                     add.l      D1, D0
  4417. 0000300A  3F41 0014                move.w     [A7 + 0x14], D1
  4418. 0000300E  4AAF 004A                tst.l      [A7 + 0x4A]
  4419. 00003012  671A                     beq        +0x1C /* 0000302E */
  4420. 00003014  486F 0010                pea.l      [A7 + 0x10]
  4421. 00003018  302F 0016                move.w     D0, [A7 + 0x16]
  4422. 0000301C  48C0                     ext.l      D0
  4423. 0000301E  322F 001A                move.w     D1, [A7 + 0x1A]
  4424. 00003022  48C1                     ext.l      D1
  4425. 00003024  9280                     sub.l      D1, D0
  4426. 00003026  4481                     neg.l      D1
  4427. 00003028  3F01                     move.w     -[A7], D1
  4428. 0000302A  4267                     clr.w      -[A7]
  4429. 0000302C  A8A8                     syscall    OffsetRect
  4430. label0000302E:
  4431. 0000302E  486F 0010                pea.l      [A7 + 0x10]
  4432. 00003032  2F0A                     move.l     -[A7], A2
  4433. 00003034  4EAD E3C8                jsr        [A5 - 0x1C38]
  4434. 00003038  200C                     move.l     D0, A4
  4435. 0000303A  504F                     addq.w     A7, 8
  4436. 0000303C  670A                     beq        +0xC /* 00003048 */
  4437. 0000303E  28AF 0010                move.l     [A4], [A7 + 0x10]
  4438. 00003042  296F 0014 0004           move.l     [A4 + 0x4], [A7 + 0x14]
  4439. label00003048:
  4440. 00003048  206F 000C                movea.l    A0, [A7 + 0xC]
  4441. 0000304C  214B 0068                move.l     [A0 + 0x68], A3
  4442. 00003050  4AAF 004E                tst.l      [A7 + 0x4E]
  4443. 00003054  671A                     beq        +0x1C /* 00003070 */
  4444. 00003056  302F 0016                move.w     D0, [A7 + 0x16]
  4445. 0000305A  48C0                     ext.l      D0
  4446. 0000305C  3205                     move.w     D1, D5
  4447. 0000305E  48C1                     ext.l      D1
  4448. 00003060  D280                     add.l      D1, D0
  4449. 00003062  302F 0012                move.w     D0, [A7 + 0x12]
  4450. 00003066  48C0                     ext.l      D0
  4451. 00003068  9280                     sub.l      D1, D0
  4452. 0000306A  3F01                     move.w     -[A7], D1
  4453. 0000306C  3F04                     move.w     -[A7], D4
  4454. 0000306E  A893                     syscall    MoveTo
  4455. label00003070:
  4456. 00003070  0C2F 0002 003C           cmpi.b     [A7 + 0x3C], 0x2
  4457. 00003076  6726                     beq        +0x28 /* 0000309E */
  4458. 00003078  4857                     pea.l      [A7]
  4459. 0000307A  2F0A                     move.l     -[A7], A2
  4460. 0000307C  4EAD E3A8                jsr        [A5 - 0x1C58]
  4461. 00003080  2648                     movea.l    A3, A0
  4462. 00003082  2008                     move.l     D0, A0
  4463. 00003084  504F                     addq.w     A7, 8
  4464. 00003086  6716                     beq        +0x18 /* 0000309E */
  4465. 00003088  4857                     pea.l      [A7]
  4466. 0000308A  2F0B                     move.l     -[A7], A3
  4467. 0000308C  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  4468. 00003090  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  4469. 00003094  4EBA FDC8                jsr        [PC - 0x238 /* 00002E5E */]
  4470. 00003098  3600                     move.w     D3, D0
  4471. 0000309A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4472. label0000309E:
  4473. 0000309E  3003                     move.w     D0, D3
  4474. 000030A0  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4475. 000030A4  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4476. 000030A8  4E75                     rts
  4477. fn000030AA:
  4478. 000030AA  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4479. 000030AE  246F 0028                movea.l    A2, [A7 + 0x28]
  4480. 000030B2  3A2F 002C                move.w     D5, [A7 + 0x2C]
  4481. 000030B6  266F 002E                movea.l    A3, [A7 + 0x2E]
  4482. 000030BA  2E2F 0032                move.l     D7, [A7 + 0x32]
  4483. 000030BE  286F 0036                movea.l    A4, [A7 + 0x36]
  4484. 000030C2  1C2F 003A                move.b     D6, [A7 + 0x3A]
  4485. 000030C6  206A 00B0                movea.l    A0, [A2 + 0xB0]
  4486. 000030CA  2828 0012                move.l     D4, [A0 + 0x12]
  4487. 000030CE  7600                     moveq.l    D3, 0x00
  4488. 000030D0  7016                     moveq.l    D0, 0x16
  4489. 000030D2  D1AA 00B0                add.l      [A2 + 0xB0], D0
  4490. 000030D6  6000 011A                bra        +0x11C /* 000031F2 */
  4491. label000030DA:
  4492. 000030DA  206A 00B0                movea.l    A0, [A2 + 0xB0]
  4493. 000030DE  0C50 000B                cmpi.w     [A0], 0xB
  4494. 000030E2  6718                     beq        +0x1A /* 000030FC */
  4495. 000030E4  206A 00B0                movea.l    A0, [A2 + 0xB0]
  4496. 000030E8  2028 0012                move.l     D0, [A0 + 0x12]
  4497. 000030EC  7216                     moveq.l    D1, 0x16
  4498. 000030EE  4EAD D8F8                jsr        [A5 - 0x2708]
  4499. 000030F2  206A 00A4                movea.l    A0, [A2 + 0xA4]
  4500. 000030F6  D1C0                     add.l      A0, D0
  4501. 000030F8  2C48                     movea.l    A6, A0
  4502. 000030FA  6002                     bra        +0x4 /* 000030FE */
  4503. label000030FC:
  4504. 000030FC  9DCE                     sub.l      A6, A6
  4505. label000030FE:
  4506. 000030FE  4AAA 00E8                tst.l      [A2 + 0xE8]
  4507. 00003102  6646                     bne        +0x48 /* 0000314A */
  4508. 00003104  1F06                     move.b     -[A7], D6
  4509. 00003106  2F0C                     move.l     -[A7], A4
  4510. 00003108  2F07                     move.l     -[A7], D7
  4511. 0000310A  2F0B                     move.l     -[A7], A3
  4512. 0000310C  3F05                     move.w     -[A7], D5
  4513. 0000310E  2F0A                     move.l     -[A7], A2
  4514. 00003110  4EBA D646                jsr        [PC - 0x29BA /* 00000758 */]
  4515. 00003114  3600                     move.w     D3, D0
  4516. 00003116  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4517. 0000311A  2010                     move.l     D0, [A0]
  4518. 0000311C  0280 0000 2000           andi.l     D0, 0x2000 /* ' \0' */
  4519. 00003122  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4520. 00003126  6622                     bne        +0x24 /* 0000314A */
  4521. 00003128  4A43                     tst.w      D3
  4522. 0000312A  661E                     bne        +0x20 /* 0000314A */
  4523. 0000312C  4A6A 010A                tst.w      [A2 + 0x10A]
  4524. 00003130  6718                     beq        +0x1A /* 0000314A */
  4525. 00003132  302A 010C                move.w     D0, [A2 + 0x10C]
  4526. 00003136  D154                     add.w      [A4], D0
  4527. 00003138  302A 010A                move.w     D0, [A2 + 0x10A]
  4528. 0000313C  D153                     add.w      [A3], D0
  4529. 0000313E  3F2A 010A                move.w     -[A7], [A2 + 0x10A]
  4530. 00003142  2F0A                     move.l     -[A7], A2
  4531. 00003144  4EBA F2C2                jsr        [PC - 0xD3E /* 00002408 */]
  4532. 00003148  5C4F                     addq.w     A7, 6
  4533. label0000314A:
  4534. 0000314A  42AA 00E8                clr.l      [A2 + 0xE8]
  4535. 0000314E  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4536. 00003152  2010                     move.l     D0, [A0]
  4537. 00003154  0280 0000 2000           andi.l     D0, 0x2000 /* ' \0' */
  4538. 0000315A  6674                     bne        +0x76 /* 000031D0 */
  4539. 0000315C  7004                     moveq.l    D0, 0x04
  4540. 0000315E  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4541. 00003162  C090                     and.l      D0, [A0]
  4542. 00003164  6712                     beq        +0x14 /* 00003178 */
  4543. 00003166  5453                     addq.w     [A3], 2
  4544. 00003168  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4545. 0000316C  2010                     move.l     D0, [A0]
  4546. 0000316E  0280 0000 0200           andi.l     D0, 0x200
  4547. 00003174  6702                     beq        +0x4 /* 00003178 */
  4548. 00003176  5453                     addq.w     [A3], 2
  4549. label00003178:
  4550. 00003178  3553 004A                move.w     [A2 + 0x4A], [A3]
  4551. 0000317C  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4552. 00003180  3028 0012                move.w     D0, [A0 + 0x12]
  4553. 00003184  D153                     add.w      [A3], D0
  4554. 00003186  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4555. 0000318A  3F28 0012                move.w     -[A7], [A0 + 0x12]
  4556. 0000318E  2F0A                     move.l     -[A7], A2
  4557. 00003190  4EBA F276                jsr        [PC - 0xD8A /* 00002408 */]
  4558. 00003194  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4559. 00003198  2010                     move.l     D0, [A0]
  4560. 0000319A  0280 0000 083C           andi.l     D0, 0x83C
  4561. 000031A0  5C4F                     addq.w     A7, 6
  4562. 000031A2  671A                     beq        +0x1C /* 000031BE */
  4563. 000031A4  4AAA 0052                tst.l      [A2 + 0x52]
  4564. 000031A8  6614                     bne        +0x16 /* 000031BE */
  4565. 000031AA  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4566. 000031AE  2F10                     move.l     -[A7], [A0]
  4567. 000031B0  486A 0046                pea.l      [A2 + 0x46]
  4568. 000031B4  2F0A                     move.l     -[A7], A2
  4569. 000031B6  4EBA 008E                jsr        [PC + 0x8E /* 00003246 */]
  4570. 000031BA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4571. label000031BE:
  4572. 000031BE  7001                     moveq.l    D0, 0x01
  4573. 000031C0  2540 00E0                move.l     [A2 + 0xE0], D0
  4574. 000031C4  7004                     moveq.l    D0, 0x04
  4575. 000031C6  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4576. 000031CA  C090                     and.l      D0, [A0]
  4577. 000031CC  6702                     beq        +0x4 /* 000031D0 */
  4578. 000031CE  5453                     addq.w     [A3], 2
  4579. label000031D0:
  4580. 000031D0  200E                     move.l     D0, A6
  4581. 000031D2  661E                     bne        +0x20 /* 000031F2 */
  4582. 000031D4  2F0C                     move.l     -[A7], A4
  4583. 000031D6  2F0A                     move.l     -[A7], A2
  4584. 000031D8  4EBA 0138                jsr        [PC + 0x138 /* 00003312 */]
  4585. 000031DC  3014                     move.w     D0, [A4]
  4586. 000031DE  48C0                     ext.l      D0
  4587. 000031E0  4A80                     tst.l      D0
  4588. 000031E2  504F                     addq.w     A7, 8
  4589. 000031E4  6C0C                     bge        +0xE /* 000031F2 */
  4590. 000031E6  3885                     move.w     [A4], D5
  4591. 000031E8  2F0C                     move.l     -[A7], A4
  4592. 000031EA  2F0A                     move.l     -[A7], A2
  4593. 000031EC  4EBA 0124                jsr        [PC + 0x124 /* 00003312 */]
  4594. 000031F0  504F                     addq.w     A7, 8
  4595. label000031F2:
  4596. 000031F2  2004                     move.l     D0, D4
  4597. 000031F4  5384                     subq.l     D4, 1
  4598. 000031F6  4A80                     tst.l      D0
  4599. 000031F8  6706                     beq        +0x8 /* 00003200 */
  4600. 000031FA  4A43                     tst.w      D3
  4601. 000031FC  6700 FEDC                beq        -0x122 /* 000030DA */
  4602. label00003200:
  4603. 00003200  3003                     move.w     D0, D3
  4604. 00003202  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4605. 00003206  4E75                     rts
  4606. fn00003208:
  4607. 00003208  2F0A                     move.l     -[A7], A2
  4608. 0000320A  514F                     subq.w     A7, 8
  4609. 0000320C  246F 0010                movea.l    A2, [A7 + 0x10]
  4610. 00003210  3F6A 0060 0002           move.w     [A7 + 0x2], [A2 + 0x60]
  4611. 00003216  3F6A 0062 0006           move.w     [A7 + 0x6], [A2 + 0x62]
  4612. 0000321C  3EAA 005C                move.w     [A7], [A2 + 0x5C]
  4613. 00003220  302A 005A                move.w     D0, [A2 + 0x5A]
  4614. 00003224  48C0                     ext.l      D0
  4615. 00003226  3217                     move.w     D1, [A7]
  4616. 00003228  48C1                     ext.l      D1
  4617. 0000322A  D280                     add.l      D1, D0
  4618. 0000322C  3F41 0004                move.w     [A7 + 0x4], D1
  4619. 00003230  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  4620. 00003234  486F 0004                pea.l      [A7 + 0x4]
  4621. 00003238  2F0A                     move.l     -[A7], A2
  4622. 0000323A  4EBA 000A                jsr        [PC + 0xA /* 00003246 */]
  4623. 0000323E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4624. 00003242  245F                     movea.l    A2, [A7]+
  4625. 00003244  4E75                     rts
  4626. fn00003246:
  4627. 00003246  48E7 1020                movem.l    -[A7], D3,A2
  4628. 0000324A  246F 0010                movea.l    A2, [A7 + 0x10]
  4629. 0000324E  262F 0014                move.l     D3, [A7 + 0x14]
  4630. 00003252  4EAD DD70                jsr        [A5 - 0x2290]
  4631. 00003256  4878 0021                push.l     0x21 /* '!' */
  4632. 0000325A  A862                     syscall    ForeColor
  4633. 0000325C  2003                     move.l     D0, D3
  4634. 0000325E  0280 0000 0200           andi.l     D0, 0x200
  4635. 00003264  6708                     beq        +0xA /* 0000326E */
  4636. 00003266  2F3C 0002 0002           move.l     -[A7], 0x20002
  4637. 0000326C  A89B                     syscall    PenSize
  4638. label0000326E:
  4639. 0000326E  2003                     move.l     D0, D3
  4640. 00003270  0280 0000 083C           andi.l     D0, 0x83C
  4641. 00003276  723C                     moveq.l    D1, 0x3C
  4642. 00003278  B081                     cmp.l      D0, D1
  4643. 0000327A  6608                     bne        +0xA /* 00003284 */
  4644. 0000327C  2F0A                     move.l     -[A7], A2
  4645. 0000327E  A8A1                     syscall    FrameRect
  4646. 00003280  6000 0086                bra        +0x88 /* 00003308 */
  4647. label00003284:
  4648. 00003284  7004                     moveq.l    D0, 0x04
  4649. 00003286  C083                     and.l      D0, D3
  4650. 00003288  6720                     beq        +0x22 /* 000032AA */
  4651. 0000328A  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  4652. 0000328E  302A 0004                move.w     D0, [A2 + 0x4]
  4653. 00003292  48C0                     ext.l      D0
  4654. 00003294  5380                     subq.l     D0, 1
  4655. 00003296  3F00                     move.w     -[A7], D0
  4656. 00003298  A893                     syscall    MoveTo
  4657. 0000329A  3F2A 0006                move.w     -[A7], [A2 + 0x6]
  4658. 0000329E  302A 0004                move.w     D0, [A2 + 0x4]
  4659. 000032A2  48C0                     ext.l      D0
  4660. 000032A4  5380                     subq.l     D0, 1
  4661. 000032A6  3F00                     move.w     -[A7], D0
  4662. 000032A8  A891                     syscall    LineTo
  4663. label000032AA:
  4664. 000032AA  7010                     moveq.l    D0, 0x10
  4665. 000032AC  C083                     and.l      D0, D3
  4666. 000032AE  6710                     beq        +0x12 /* 000032C0 */
  4667. 000032B0  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  4668. 000032B4  3F12                     move.w     -[A7], [A2]
  4669. 000032B6  A893                     syscall    MoveTo
  4670. 000032B8  3F2A 0006                move.w     -[A7], [A2 + 0x6]
  4671. 000032BC  3F12                     move.w     -[A7], [A2]
  4672. 000032BE  A891                     syscall    LineTo
  4673. label000032C0:
  4674. 000032C0  7020                     moveq.l    D0, 0x20
  4675. 000032C2  C083                     and.l      D0, D3
  4676. 000032C4  6724                     beq        +0x26 /* 000032EA */
  4677. 000032C6  302A 0006                move.w     D0, [A2 + 0x6]
  4678. 000032CA  48C0                     ext.l      D0
  4679. 000032CC  5380                     subq.l     D0, 1
  4680. 000032CE  3F00                     move.w     -[A7], D0
  4681. 000032D0  3F12                     move.w     -[A7], [A2]
  4682. 000032D2  A893                     syscall    MoveTo
  4683. 000032D4  302A 0006                move.w     D0, [A2 + 0x6]
  4684. 000032D8  48C0                     ext.l      D0
  4685. 000032DA  5380                     subq.l     D0, 1
  4686. 000032DC  3F00                     move.w     -[A7], D0
  4687. 000032DE  302A 0004                move.w     D0, [A2 + 0x4]
  4688. 000032E2  48C0                     ext.l      D0
  4689. 000032E4  5380                     subq.l     D0, 1
  4690. 000032E6  3F00                     move.w     -[A7], D0
  4691. 000032E8  A891                     syscall    LineTo
  4692. label000032EA:
  4693. 000032EA  7008                     moveq.l    D0, 0x08
  4694. 000032EC  C083                     and.l      D0, D3
  4695. 000032EE  6718                     beq        +0x1A /* 00003308 */
  4696. 000032F0  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  4697. 000032F4  3F12                     move.w     -[A7], [A2]
  4698. 000032F6  A893                     syscall    MoveTo
  4699. 000032F8  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  4700. 000032FC  302A 0004                move.w     D0, [A2 + 0x4]
  4701. 00003300  48C0                     ext.l      D0
  4702. 00003302  5380                     subq.l     D0, 1
  4703. 00003304  3F00                     move.w     -[A7], D0
  4704. 00003306  A891                     syscall    LineTo
  4705. label00003308:
  4706. 00003308  4EAD DD78                jsr        [A5 - 0x2288]
  4707. 0000330C  4CDF 0408                movem.l    D3,A2, [A7]+
  4708. 00003310  4E75                     rts
  4709. fn00003312:
  4710. 00003312  48E7 1030                movem.l    -[A7], D3,A2,A3
  4711. 00003316  246F 0010                movea.l    A2, [A7 + 0x10]
  4712. 0000331A  266F 0014                movea.l    A3, [A7 + 0x14]
  4713. 0000331E  4AAA 0052                tst.l      [A2 + 0x52]
  4714. 00003322  6732                     beq        +0x34 /* 00003356 */
  4715. 00003324  2F0A                     move.l     -[A7], A2
  4716. 00003326  4EBA D40C                jsr        [PC - 0x2BF4 /* 00000734 */]
  4717. 0000332A  3600                     move.w     D3, D0
  4718. 0000332C  42AA 0056                clr.l      [A2 + 0x56]
  4719. 00003330  302A 0060                move.w     D0, [A2 + 0x60]
  4720. 00003334  48C0                     ext.l      D0
  4721. 00003336  322A 0062                move.w     D1, [A2 + 0x62]
  4722. 0000333A  48C1                     ext.l      D1
  4723. 0000333C  9280                     sub.l      D1, D0
  4724. 0000333E  3681                     move.w     [A3], D1
  4725. 00003340  B653                     cmp.w      D3, [A3]
  4726. 00003342  584F                     addq.w     A7, 4
  4727. 00003344  6C04                     bge        +0x6 /* 0000334A */
  4728. 00003346  9753                     sub.w      [A3], D3
  4729. 00003348  6006                     bra        +0x8 /* 00003350 */
  4730. label0000334A:
  4731. 0000334A  7001                     moveq.l    D0, 0x01
  4732. 0000334C  2540 0056                move.l     [A2 + 0x56], D0
  4733. label00003350:
  4734. 00003350  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4735. 00003354  4E75                     rts
  4736. label00003356:
  4737. 00003356  4AAA 00E0                tst.l      [A2 + 0xE0]
  4738. 0000335A  670A                     beq        +0xC /* 00003366 */
  4739. 0000335C  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4740. 00003360  3028 000A                move.w     D0, [A0 + 0xA]
  4741. 00003364  9153                     sub.w      [A3], D0
  4742. label00003366:
  4743. 00003366  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4744. 0000336A  3028 000C                move.w     D0, [A0 + 0xC]
  4745. 0000336E  9153                     sub.w      [A3], D0
  4746. 00003370  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4747. 00003374  3628 000E                move.w     D3, [A0 + 0xE]
  4748. 00003378  3003                     move.w     D0, D3
  4749. 0000337A  48C0                     ext.l      D0
  4750. 0000337C  4A80                     tst.l      D0
  4751. 0000337E  6F02                     ble        +0x4 /* 00003382 */
  4752. 00003380  9753                     sub.w      [A3], D3
  4753. label00003382:
  4754. 00003382  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4755. 00003386  0828 0001 0002           btst.b     [A0 + 0x2], 0x1
  4756. 0000338C  6604                     bne        +0x6 /* 00003392 */
  4757. 0000338E  7000                     moveq.l    D0, 0x00
  4758. 00003390  6002                     bra        +0x4 /* 00003394 */
  4759. label00003392:
  4760. 00003392  7002                     moveq.l    D0, 0x02
  4761. label00003394:
  4762. 00003394  2600                     move.l     D3, D0
  4763. 00003396  7020                     moveq.l    D0, 0x20
  4764. 00003398  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4765. 0000339C  C090                     and.l      D0, [A0]
  4766. 0000339E  6706                     beq        +0x8 /* 000033A6 */
  4767. 000033A0  2003                     move.l     D0, D3
  4768. 000033A2  5480                     addq.l     D0, 2
  4769. 000033A4  9153                     sub.w      [A3], D0
  4770. label000033A6:
  4771. 000033A6  7008                     moveq.l    D0, 0x08
  4772. 000033A8  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4773. 000033AC  C090                     and.l      D0, [A0]
  4774. 000033AE  6706                     beq        +0x8 /* 000033B6 */
  4775. 000033B0  2003                     move.l     D0, D3
  4776. 000033B2  5680                     addq.l     D0, 3
  4777. 000033B4  D153                     add.w      [A3], D0
  4778. label000033B6:
  4779. 000033B6  4A6A 010A                tst.w      [A2 + 0x10A]
  4780. 000033BA  6706                     beq        +0x8 /* 000033C2 */
  4781. 000033BC  302A 010C                move.w     D0, [A2 + 0x10C]
  4782. 000033C0  9153                     sub.w      [A3], D0
  4783. label000033C2:
  4784. 000033C2  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4785. 000033C6  4E75                     rts
  4786. fn000033C8:
  4787. 000033C8  2F0A                     move.l     -[A7], A2
  4788. 000033CA  4FEF FF00                lea.l      A7, [A7 - 0x100]
  4789. 000033CE  246F 010C                movea.l    A2, [A7 + 0x10C]
  4790. 000033D2  2F2F 0108                move.l     -[A7], [A7 + 0x108]
  4791. 000033D6  2F0A                     move.l     -[A7], A2
  4792. 000033D8  A900                     syscall    GetFNum
  4793. 000033DA  4A52                     tst.w      [A2]
  4794. 000033DC  6622                     bne        +0x24 /* 00003400 */
  4795. 000033DE  4267                     clr.w      -[A7]
  4796. 000033E0  486F 0002                pea.l      [A7 + 0x2]
  4797. 000033E4  A8FF                     syscall    GetFName/GetFontName
  4798. 000033E6  554F                     subq.w     A7, 2
  4799. 000033E8  2F2F 010A                move.l     -[A7], [A7 + 0x10A]
  4800. 000033EC  486F 0006                pea.l      [A7 + 0x6]
  4801. 000033F0  4227                     clr.b      -[A7]
  4802. 000033F2  4227                     clr.b      -[A7]
  4803. 000033F4  4EAD D9BE                jsr        [A5 - 0x2642]
  4804. 000033F8  101F                     move.b     D0, [A7]+
  4805. 000033FA  6604                     bne        +0x6 /* 00003400 */
  4806. 000033FC  34BC 0001                move.w     [A2], 0x1
  4807. label00003400:
  4808. 00003400  4FEF 0100                lea.l      A7, [A7 + 0x100]
  4809. 00003404  245F                     movea.l    A2, [A7]+
  4810. 00003406  4E75                     rts
  4811. fn00003408:
  4812. 00003408  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  4813. 0000340C  594F                     subq.w     A7, 4
  4814. 0000340E  246F 001C                movea.l    A2, [A7 + 0x1C]
  4815. 00003412  266F 0020                movea.l    A3, [A7 + 0x20]
  4816. 00003416  286F 0024                movea.l    A4, [A7 + 0x24]
  4817. 0000341A  362B 0006                move.w     D3, [A3 + 0x6]
  4818. 0000341E  7001                     moveq.l    D0, 0x01
  4819. 00003420  2540 00E0                move.l     [A2 + 0xE0], D0
  4820. 00003424  2553 004E                move.l     [A2 + 0x4E], [A3]
  4821. 00003428  42AA 0056                clr.l      [A2 + 0x56]
  4822. 0000342C  4AAA 0052                tst.l      [A2 + 0x52]
  4823. 00003430  671A                     beq        +0x1C /* 0000344C */
  4824. 00003432  302A 0064                move.w     D0, [A2 + 0x64]
  4825. 00003436  B06B 0006                cmp.w      D0, [A3 + 0x6]
  4826. 0000343A  672A                     beq        +0x2C /* 00003466 */
  4827. 0000343C  356A 0062 005E           move.w     [A2 + 0x5E], [A2 + 0x62]
  4828. 00003442  38AA 005C                move.w     [A4], [A2 + 0x5C]
  4829. 00003446  526A 0068                addq.w     [A2 + 0x68], 1
  4830. 0000344A  601A                     bra        +0x1C /* 00003466 */
  4831. label0000344C:
  4832. 0000344C  357C 0001 0068           move.w     [A2 + 0x68], 0x1
  4833. 00003452  357C 0001 005A           move.w     [A2 + 0x5A], 0x1
  4834. 00003458  3554 005C                move.w     [A2 + 0x5C], [A4]
  4835. 0000345C  7001                     moveq.l    D0, 0x01
  4836. 0000345E  2540 0052                move.l     [A2 + 0x52], D0
  4837. 00003462  426A 005E                clr.w      [A2 + 0x5E]
  4838. label00003466:
  4839. 00003466  302B 0008                move.w     D0, [A3 + 0x8]
  4840. 0000346A  48C0                     ext.l      D0
  4841. 0000346C  322A 005E                move.w     D1, [A2 + 0x5E]
  4842. 00003470  48C1                     ext.l      D1
  4843. 00003472  D280                     add.l      D1, D0
  4844. 00003474  302B 0004                move.w     D0, [A3 + 0x4]
  4845. 00003478  48C0                     ext.l      D0
  4846. 0000347A  D081                     add.l      D0, D1
  4847. 0000347C  3540 0060                move.w     [A2 + 0x60], D0
  4848. 00003480  2013                     move.l     D0, [A3]
  4849. 00003482  0280 0000 8000           andi.l     D0, 0x8000
  4850. 00003488  6738                     beq        +0x3A /* 000034C2 */
  4851. 0000348A  302A 006A                move.w     D0, [A2 + 0x6A]
  4852. 0000348E  48C0                     ext.l      D0
  4853. 00003490  382F 0028                move.w     D4, [A7 + 0x28]
  4854. 00003494  48C4                     ext.l      D4
  4855. 00003496  9880                     sub.l      D4, D0
  4856. 00003498  3004                     move.w     D0, D4
  4857. 0000349A  48C0                     ext.l      D0
  4858. 0000349C  4A80                     tst.l      D0
  4859. 0000349E  6F22                     ble        +0x24 /* 000034C2 */
  4860. 000034A0  302A 0068                move.w     D0, [A2 + 0x68]
  4861. 000034A4  48C0                     ext.l      D0
  4862. 000034A6  3204                     move.w     D1, D4
  4863. 000034A8  48C1                     ext.l      D1
  4864. 000034AA  342A 0066                move.w     D2, [A2 + 0x66]
  4865. 000034AE  48C2                     ext.l      D2
  4866. 000034B0  2E80                     move.l     [A7], D0
  4867. 000034B2  2001                     move.l     D0, D1
  4868. 000034B4  2202                     move.l     D1, D2
  4869. 000034B6  4EAD D904                jsr        [A5 - 0x26FC]
  4870. 000034BA  2217                     move.l     D1, [A7]
  4871. 000034BC  4EAD D8F8                jsr        [A5 - 0x2708]
  4872. 000034C0  D640                     add.w      D3, D0
  4873. label000034C2:
  4874. 000034C2  3003                     move.w     D0, D3
  4875. 000034C4  48C0                     ext.l      D0
  4876. 000034C6  3540 0062                move.w     [A2 + 0x62], D0
  4877. 000034CA  356B 0006 0064           move.w     [A2 + 0x64], [A3 + 0x6]
  4878. 000034D0  584F                     addq.w     A7, 4
  4879. 000034D2  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  4880. 000034D6  4E75                     rts
  4881. fn000034D8:
  4882. 000034D8  206F 0004                movea.l    A0, [A7 + 0x4]
  4883. 000034DC  342F 0008                move.w     D2, [A7 + 0x8]
  4884. 000034E0  3028 005C                move.w     D0, [A0 + 0x5C]
  4885. 000034E4  48C0                     ext.l      D0
  4886. 000034E6  3202                     move.w     D1, D2
  4887. 000034E8  48C1                     ext.l      D1
  4888. 000034EA  9280                     sub.l      D1, D0
  4889. 000034EC  3028 005A                move.w     D0, [A0 + 0x5A]
  4890. 000034F0  48C0                     ext.l      D0
  4891. 000034F2  B280                     cmp.l      D1, D0
  4892. 000034F4  6F04                     ble        +0x6 /* 000034FA */
  4893. 000034F6  3141 005A                move.w     [A0 + 0x5A], D1
  4894. label000034FA:
  4895. 000034FA  4E75                     rts
  4896. fn000034FC:
  4897. 000034FC  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  4898. 00003500  246F 001C                movea.l    A2, [A7 + 0x1C]
  4899. 00003504  2C6F 0020                movea.l    A6, [A7 + 0x20]
  4900. 00003508  286F 0028                movea.l    A4, [A7 + 0x28]
  4901. 0000350C  266F 002C                movea.l    A3, [A7 + 0x2C]
  4902. 00003510  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4903. 00003514  2010                     move.l     D0, [A0]
  4904. 00003516  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  4905. 0000351C  56C0                     sne        D0
  4906. 0000351E  4400                     neg.b      D0
  4907. 00003520  4880                     ext.w      D0
  4908. 00003522  48C0                     ext.l      D0
  4909. 00003524  2600                     move.l     D3, D0
  4910. 00003526  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4911. 0000352A  2010                     move.l     D0, [A0]
  4912. 0000352C  0280 0000 2000           andi.l     D0, 0x2000 /* ' \0' */
  4913. 00003532  56C0                     sne        D0
  4914. 00003534  4400                     neg.b      D0
  4915. 00003536  4880                     ext.w      D0
  4916. 00003538  48C0                     ext.l      D0
  4917. 0000353A  2800                     move.l     D4, D0
  4918. 0000353C  206A 00B0                movea.l    A0, [A2 + 0xB0]
  4919. 00003540  2028 0012                move.l     D0, [A0 + 0x12]
  4920. 00003544  7216                     moveq.l    D1, 0x16
  4921. 00003546  4EAD D8F8                jsr        [A5 - 0x2708]
  4922. 0000354A  206A 00A4                movea.l    A0, [A2 + 0xA4]
  4923. 0000354E  D1C0                     add.l      A0, D0
  4924. 00003550  2548 00CC                move.l     [A2 + 0xCC], A0
  4925. 00003554  7016                     moveq.l    D0, 0x16
  4926. 00003556  D1AA 00B0                add.l      [A2 + 0xB0], D0
  4927. 0000355A  2F0E                     move.l     -[A7], A6
  4928. 0000355C  2F0A                     move.l     -[A7], A2
  4929. 0000355E  4EBA FDB2                jsr        [PC - 0x24E /* 00003312 */]
  4930. 00003562  7003                     moveq.l    D0, 0x03
  4931. 00003564  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4932. 00003568  C090                     and.l      D0, [A0]
  4933. 0000356A  504F                     addq.w     A7, 8
  4934. 0000356C  6704                     beq        +0x6 /* 00003572 */
  4935. 0000356E  42AB 0014                clr.l      [A3 + 0x14]
  4936. label00003572:
  4937. 00003572  4A83                     tst.l      D3
  4938. 00003574  6748                     beq        +0x4A /* 000035BE */
  4939. 00003576  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4940. 0000357A  2010                     move.l     D0, [A0]
  4941. 0000357C  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  4942. 00003582  663A                     bne        +0x3C /* 000035BE */
  4943. 00003584  0C2F 0001 0030           cmpi.b     [A7 + 0x30], 0x1
  4944. 0000358A  660E                     bne        +0x10 /* 0000359A */
  4945. 0000358C  7001                     moveq.l    D0, 0x01
  4946. 0000358E  2540 0104                move.l     [A2 + 0x104], D0
  4947. 00003592  7000                     moveq.l    D0, 0x00
  4948. 00003594  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4949. 00003598  4E75                     rts
  4950. label0000359A:
  4951. 0000359A  3F2F 0032                move.w     -[A7], [A7 + 0x32]
  4952. 0000359E  2F0B                     move.l     -[A7], A3
  4953. 000035A0  2F0C                     move.l     -[A7], A4
  4954. 000035A2  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  4955. 000035A6  2F0E                     move.l     -[A7], A6
  4956. 000035A8  2F0A                     move.l     -[A7], A2
  4957. 000035AA  4EBA 0038                jsr        [PC + 0x38 /* 000035E4 */]
  4958. 000035AE  3600                     move.w     D3, D0
  4959. 000035B0  4FEF 0016                lea.l      A7, [A7 + 0x16]
  4960. 000035B4  6708                     beq        +0xA /* 000035BE */
  4961. 000035B6  3003                     move.w     D0, D3
  4962. 000035B8  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4963. 000035BC  4E75                     rts
  4964. label000035BE:
  4965. 000035BE  4A84                     tst.l      D4
  4966. 000035C0  661A                     bne        +0x1C /* 000035DC */
  4967. 000035C2  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4968. 000035C6  3028 0010                move.w     D0, [A0 + 0x10]
  4969. 000035CA  D154                     add.w      [A4], D0
  4970. 000035CC  206A 00CC                movea.l    A0, [A2 + 0xCC]
  4971. 000035D0  3F28 0010                move.w     -[A7], [A0 + 0x10]
  4972. 000035D4  2F0A                     move.l     -[A7], A2
  4973. 000035D6  4EBA EE30                jsr        [PC - 0x11D0 /* 00002408 */]
  4974. 000035DA  5C4F                     addq.w     A7, 6
  4975. label000035DC:
  4976. 000035DC  7000                     moveq.l    D0, 0x00
  4977. 000035DE  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4978. 000035E2  4E75                     rts
  4979. fn000035E4:
  4980. 000035E4  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  4981. 000035E8  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  4982. 000035EC  286F 002C                movea.l    A4, [A7 + 0x2C]
  4983. 000035F0  2C6F 0034                movea.l    A6, [A7 + 0x34]
  4984. 000035F4  266F 003C                movea.l    A3, [A7 + 0x3C]
  4985. 000035F8  2EAD CEF0                move.l     [A7], [A5 - 0x3110]
  4986. 000035FC  2F6D CEF4 0004           move.l     [A7 + 0x4], [A5 - 0x310C]
  4987. 00003602  4AAC 00FC                tst.l      [A4 + 0xFC]
  4988. 00003606  6706                     beq        +0x8 /* 0000360E */
  4989. 00003608  206F 0038                movea.l    A0, [A7 + 0x38]
  4990. 0000360C  5450                     addq.w     [A0], 2
  4991. label0000360E:
  4992. 0000360E  486F 0008                pea.l      [A7 + 0x8]
  4993. 00003612  A874                     syscall    GetPort
  4994. 00003614  42AD ACF2                clr.l      [A5 - 0x530E]
  4995. 00003618  206F 0038                movea.l    A0, [A7 + 0x38]
  4996. 0000361C  302C 010A                move.w     D0, [A4 + 0x10A]
  4997. 00003620  D150                     add.w      [A0], D0
  4998. 00003622  426C 010A                clr.w      [A4 + 0x10A]
  4999. 00003626  426C 010C                clr.w      [A4 + 0x10C]
  5000. 0000362A  426C 010E                clr.w      [A4 + 0x10E]
  5001. 0000362E  426C 0110                clr.w      [A4 + 0x110]
  5002. 00003632  206F 0008                movea.l    A0, [A7 + 0x8]
  5003. 00003636  3628 0044                move.w     D3, [A0 + 0x44]
  5004. 0000363A  3828 004A                move.w     D4, [A0 + 0x4A]
  5005. 0000363E  7A00                     moveq.l    D5, 0x00
  5006. 00003640  1A28 0046                move.b     D5, [A0 + 0x46]
  5007. 00003644  4EAD DA9C                jsr        [A5 - 0x2564]
  5008. 00003648  3F03                     move.w     -[A7], D3
  5009. 0000364A  A887                     syscall    TextFont
  5010. 0000364C  3F04                     move.w     -[A7], D4
  5011. 0000364E  A88A                     syscall    TextSize
  5012. 00003650  3F05                     move.w     -[A7], D5
  5013. 00003652  A888                     syscall    TextFace
  5014. 00003654  246B 0004                movea.l    A2, [A3 + 0x4]
  5015. 00003658  2452                     movea.l    A2, [A2]
  5016. 0000365A  548A                     addq.l     A2, 2
  5017. 0000365C  206F 0038                movea.l    A0, [A7 + 0x38]
  5018. 00003660  3550 0004                move.w     [A2 + 0x4], [A0]
  5019. 00003664  3016                     move.w     D0, [A6]
  5020. 00003666  48C0                     ext.l      D0
  5021. 00003668  322A 0002                move.w     D1, [A2 + 0x2]
  5022. 0000366C  48C1                     ext.l      D1
  5023. 0000366E  D280                     add.l      D1, D0
  5024. 00003670  3541 0006                move.w     [A2 + 0x6], D1
  5025. 00003674  4A93                     tst.l      [A3]
  5026. 00003676  6708                     beq        +0xA /* 00003680 */
  5027. 00003678  2F13                     move.l     -[A7], [A3]
  5028. 0000367A  4EAD DAA2                jsr        [A5 - 0x255E]
  5029. 0000367E  584F                     addq.w     A7, 4
  5030. label00003680:
  5031. 00003680  26AB 0004                move.l     [A3], [A3 + 0x4]
  5032. 00003684  4857                     pea.l      [A7]
  5033. 00003686  4EAD DA96                jsr        [A5 - 0x256A]
  5034. 0000368A  2748 0004                move.l     [A3 + 0x4], A0
  5035. 0000368E  2008                     move.l     D0, A0
  5036. 00003690  584F                     addq.w     A7, 4
  5037. 00003692  6612                     bne        +0x14 /* 000036A6 */
  5038. 00003694  554F                     subq.w     A7, 2
  5039. 00003696  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5040. 0000369A  301F                     move.w     D0, [A7]+
  5041. 0000369C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5042. 000036A0  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  5043. 000036A4  4E75                     rts
  5044. label000036A6:
  5045. 000036A6  202C 00D0                move.l     D0, [A4 + 0xD0]
  5046. 000036AA  5280                     addq.l     D0, 1
  5047. 000036AC  2F00                     move.l     -[A7], D0
  5048. 000036AE  3F2C 0112                move.w     -[A7], [A4 + 0x112]
  5049. 000036B2  4EAD DAC0                jsr        [A5 - 0x2540]
  5050. 000036B6  262C 00D4                move.l     D3, [A4 + 0xD4]
  5051. 000036BA  206B 0008                movea.l    A0, [A3 + 0x8]
  5052. 000036BE  2450                     movea.l    A2, [A0]
  5053. 000036C0  5C4F                     addq.w     A7, 6
  5054. 000036C2  6008                     bra        +0xA /* 000036CC */
  5055. label000036C4:
  5056. 000036C4  422A 0021                clr.b      [A2 + 0x21]
  5057. 000036C8  7024                     moveq.l    D0, 0x24
  5058. 000036CA  D5C0                     add.l      A2, D0
  5059. label000036CC:
  5060. 000036CC  2003                     move.l     D0, D3
  5061. 000036CE  5383                     subq.l     D3, 1
  5062. 000036D0  4A80                     tst.l      D0
  5063. 000036D2  66F0                     bne        -0xE /* 000036C4 */
  5064. 000036D4  2F2C 00F8                move.l     -[A7], [A4 + 0xF8]
  5065. 000036D8  4878 0001                push.l     0x1
  5066. 000036DC  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  5067. 000036E0  4EAD E390                jsr        [A5 - 0x1C70]
  5068. 000036E4  3CAF 004C                move.w     [A6], [A7 + 0x4C]
  5069. 000036E8  376B 001A 0018           move.w     [A3 + 0x18], [A3 + 0x1A]
  5070. 000036EE  426B 001A                clr.w      [A3 + 0x1A]
  5071. 000036F2  7000                     moveq.l    D0, 0x00
  5072. 000036F4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5073. 000036F8  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  5074. 000036FC  4E75                     rts
  5075. 000036FE  306F 0008                movea.w    A0, [A7 + 0x8]
  5076. 00003702  2008                     move.l     D0, A0
  5077. 00003704  EB88                     lsl        D0, 5
  5078. 00003706  206F 0004                movea.l    A0, [A7 + 0x4]
  5079. 0000370A  2030 081C                move.l     D0, [A0 + D0 + 0x1C]
  5080. 0000370E  1F40 000A                move.b     [A7 + 0xA], D0
  5081. 00003712  205F                     movea.l    A0, [A7]+
  5082. 00003714  5C4F                     addq.w     A7, 6
  5083. 00003716  4ED0                     jmp        [A0]
  5084. fn00003718:
  5085. 00003718  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  5086. 0000371C  266F 0014                movea.l    A3, [A7 + 0x14]
  5087. 00003720  286F 001C                movea.l    A4, [A7 + 0x1C]
  5088. 00003724  4AAD AD0A                tst.l      [A5 - 0x52F6]
  5089. 00003728  6608                     bne        +0xA /* 00003732 */
  5090. 0000372A  7000                     moveq.l    D0, 0x00
  5091. 0000372C  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  5092. 00003730  4E75                     rts
  5093. label00003732:
  5094. 00003732  202D AD0A                move.l     D0, [A5 - 0x52F6]
  5095. 00003736  5380                     subq.l     D0, 1
  5096. 00003738  D080                     add.l      D0, D0
  5097. 0000373A  D9C0                     add.l      A4, D0
  5098. 0000373C  262D AD0A                move.l     D3, [A5 - 0x52F6]
  5099. 00003740  6000 008E                bra        +0x90 /* 000037D0 */
  5100. label00003744:
  5101. 00003744  3454                     movea.w    A2, [A4]
  5102. 00003746  200A                     move.l     D0, A2
  5103. 00003748  EB88                     lsl        D0, 5
  5104. 0000374A  246D AD06                movea.l    A2, [A5 - 0x52FA]
  5105. 0000374E  2452                     movea.l    A2, [A2]
  5106. 00003750  D5C0                     add.l      A2, D0
  5107. 00003752  4A52                     tst.w      [A2]
  5108. 00003754  6718                     beq        +0x1A /* 0000376E */
  5109. 00003756  0C52 0001                cmpi.w     [A2], 0x1
  5110. 0000375A  6712                     beq        +0x14 /* 0000376E */
  5111. 0000375C  0C52 0002                cmpi.w     [A2], 0x2
  5112. 00003760  670C                     beq        +0xE /* 0000376E */
  5113. 00003762  0C52 0003                cmpi.w     [A2], 0x3
  5114. 00003766  6706                     beq        +0x8 /* 0000376E */
  5115. 00003768  0C52 0004                cmpi.w     [A2], 0x4
  5116. 0000376C  665E                     bne        +0x60 /* 000037CC */
  5117. label0000376E:
  5118. 0000376E  42A7                     clr.l      -[A7]
  5119. 00003770  42A7                     clr.l      -[A7]
  5120. 00003772  42A7                     clr.l      -[A7]
  5121. 00003774  42A7                     clr.l      -[A7]
  5122. 00003776  2F0A                     move.l     -[A7], A2
  5123. 00003778  2F0B                     move.l     -[A7], A3
  5124. 0000377A  4EBA DDA4                jsr        [PC - 0x225C /* 00001520 */]
  5125. 0000377E  4A40                     tst.w      D0
  5126. 00003780  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5127. 00003784  6650                     bne        +0x52 /* 000037D6 */
  5128. 00003786  594F                     subq.w     A7, 4
  5129. 00003788  206B 0098                movea.l    A0, [A3 + 0x98]
  5130. 0000378C  202A 0006                move.l     D0, [A2 + 0x6]
  5131. 00003790  4870 0800                pea.l      [A0 + D0]
  5132. 00003794  2F2A 000A                move.l     -[A7], [A2 + 0xA]
  5133. 00003798  2F3C 8408 0028           move.l     -[A7], 0x84080028
  5134. 0000379E  A8B5                     syscall    ScriptUtil
  5135. 000037A0  201F                     move.l     D0, [A7]+
  5136. 000037A2  2600                     move.l     D3, D0
  5137. 000037A4  B6AA 000A                cmp.l      D3, [A2 + 0xA]
  5138. 000037A8  672C                     beq        +0x2E /* 000037D6 */
  5139. 000037AA  554F                     subq.w     A7, 2
  5140. 000037AC  206B 0098                movea.l    A0, [A3 + 0x98]
  5141. 000037B0  D1EA 0006                add.l      A0, [A2 + 0x6]
  5142. 000037B4  4870 3800                pea.l      [A0 + D3]
  5143. 000037B8  4267                     clr.w      -[A7]
  5144. 000037BA  202A 000A                move.l     D0, [A2 + 0xA]
  5145. 000037BE  9083                     sub.l      D0, D3
  5146. 000037C0  3F00                     move.w     -[A7], D0
  5147. 000037C2  A886                     syscall    TextWidth
  5148. 000037C4  301F                     move.w     D0, [A7]+
  5149. 000037C6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  5150. 000037CA  4E75                     rts
  5151. label000037CC:
  5152. 000037CC  5383                     subq.l     D3, 1
  5153. 000037CE  558C                     subq.l     A4, 2
  5154. label000037D0:
  5155. 000037D0  4A83                     tst.l      D3
  5156. 000037D2  6600 FF70                bne        -0x8E /* 00003744 */
  5157. label000037D6:
  5158. 000037D6  7000                     moveq.l    D0, 0x00
  5159. 000037D8  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  5160. 000037DC  4E75                     rts
  5161. fn000037DE:
  5162. 000037DE  48E7 1020                movem.l    -[A7], D3,A2
  5163. 000037E2  4AAD ACD4                tst.l      [A5 - 0x532C]
  5164. 000037E6  671E                     beq        +0x20 /* 00003806 */
  5165. 000037E8  7600                     moveq.l    D3, 0x00
  5166. 000037EA  206D ACD4                movea.l    A0, [A5 - 0x532C]
  5167. 000037EE  2450                     movea.l    A2, [A0]
  5168. 000037F0  600E                     bra        +0x10 /* 00003800 */
  5169. label000037F2:
  5170. 000037F2  4A92                     tst.l      [A2]
  5171. 000037F4  6704                     beq        +0x6 /* 000037FA */
  5172. 000037F6  2052                     movea.l    A0, [A2]
  5173. 000037F8  A049                     syscall    HPurge
  5174. label000037FA:
  5175. 000037FA  5283                     addq.l     D3, 1
  5176. 000037FC  7018                     moveq.l    D0, 0x18
  5177. 000037FE  D5C0                     add.l      A2, D0
  5178. label00003800:
  5179. 00003800  B6AD ACD0                cmp.l      D3, [A5 - 0x5330]
  5180. 00003804  6DEC                     blt        -0x12 /* 000037F2 */
  5181. label00003806:
  5182. 00003806  4CDF 0408                movem.l    D3,A2, [A7]+
  5183. 0000380A  4E75                     rts
  5184. fn0000380C:
  5185. 0000380C  514F                     subq.w     A7, 8
  5186. 0000380E  4857                     pea.l      [A7]
  5187. 00003810  302D 135E                move.w     D0, [A5 + 0x135E]
  5188. 00003814  48C0                     ext.l      D0
  5189. 00003816  0680 0000 0080           addi.l     D0, 0x80
  5190. 0000381C  3F00                     move.w     -[A7], D0
  5191. 0000381E  302F 0012                move.w     D0, [A7 + 0x12]
  5192. 00003822  48C0                     ext.l      D0
  5193. 00003824  7204                     moveq.l    D1, 0x04
  5194. 00003826  4EAD D910                jsr        [A5 - 0x26F0]
  5195. 0000382A  5280                     addq.l     D0, 1
  5196. 0000382C  3F00                     move.w     -[A7], D0
  5197. 0000382E  4EAD DA54                jsr        [A5 - 0x25AC]
  5198. 00003832  4857                     pea.l      [A7]
  5199. 00003834  A89D                     syscall    PenPat
  5200. 00003836  504F                     addq.w     A7, 8
  5201. 00003838  4E75                     rts
  5202. fn0000383A:
  5203. 0000383A  4EAD DD70                jsr        [A5 - 0x2290]
  5204. 0000383E  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  5205. 00003842  4EBA FFC8                jsr        [PC - 0x38 /* 0000380C */]
  5206. 00003846  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  5207. 0000384A  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  5208. 0000384E  A893                     syscall    MoveTo
  5209. 00003850  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  5210. 00003854  4267                     clr.w      -[A7]
  5211. 00003856  A892                     syscall    Line
  5212. 00003858  4EAD DD78                jsr        [A5 - 0x2288]
  5213. 0000385C  544F                     addq.w     A7, 2
  5214. 0000385E  4E75                     rts
  5215. fn00003860:
  5216. 00003860  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  5217. 00003864  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  5218. 00003868  A893                     syscall    MoveTo
  5219. 0000386A  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  5220. 0000386E  4267                     clr.w      -[A7]
  5221. 00003870  A892                     syscall    Line
  5222. 00003872  4E75                     rts
  5223. fn00003874:
  5224. 00003874  48E7 1820                movem.l    -[A7], D3,D4,A2
  5225. 00003878  246F 0014                movea.l    A2, [A7 + 0x14]
  5226. 0000387C  4A6A 0018                tst.w      [A2 + 0x18]
  5227. 00003880  6612                     bne        +0x14 /* 00003894 */
  5228. 00003882  206F 0010                movea.l    A0, [A7 + 0x10]
  5229. 00003886  2068 00CC                movea.l    A0, [A0 + 0xCC]
  5230. 0000388A  2010                     move.l     D0, [A0]
  5231. 0000388C  0280 0000 4000           andi.l     D0, 0x4000 /* '@\0' */
  5232. 00003892  6612                     bne        +0x14 /* 000038A6 */
  5233. label00003894:
  5234. 00003894  302A 001A                move.w     D0, [A2 + 0x1A]
  5235. 00003898  B06F 001A                cmp.w      D0, [A7 + 0x1A]
  5236. 0000389C  6F04                     ble        +0x6 /* 000038A2 */
  5237. 0000389E  7601                     moveq.l    D3, 0x01
  5238. 000038A0  6006                     bra        +0x8 /* 000038A8 */
  5239. label000038A2:
  5240. 000038A2  7600                     moveq.l    D3, 0x00
  5241. 000038A4  6002                     bra        +0x4 /* 000038A8 */
  5242. label000038A6:
  5243. 000038A6  7600                     moveq.l    D3, 0x00
  5244. label000038A8:
  5245. 000038A8  382A 0020                move.w     D4, [A2 + 0x20]
  5246. 000038AC  4A83                     tst.l      D3
  5247. 000038AE  6704                     beq        +0x6 /* 000038B4 */
  5248. 000038B0  0444 000F                subi.w     D4, 0xF
  5249. label000038B4:
  5250. 000038B4  B86F 0018                cmp.w      D4, [A7 + 0x18]
  5251. 000038B8  5DC0                     slt        D0
  5252. 000038BA  4400                     neg.b      D0
  5253. 000038BC  4880                     ext.w      D0
  5254. 000038BE  48C0                     ext.l      D0
  5255. 000038C0  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  5256. 000038C4  4E75                     rts
  5257. fn000038C6:
  5258. 000038C6  2F0A                     move.l     -[A7], A2
  5259. 000038C8  246F 0008                movea.l    A2, [A7 + 0x8]
  5260. 000038CC  4AAA 0004                tst.l      [A2 + 0x4]
  5261. 000038D0  670E                     beq        +0x10 /* 000038E0 */
  5262. 000038D2  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5263. 000038D6  4EAD DAA2                jsr        [A5 - 0x255E]
  5264. 000038DA  42AA 0004                clr.l      [A2 + 0x4]
  5265. 000038DE  584F                     addq.w     A7, 4
  5266. label000038E0:
  5267. 000038E0  4A92                     tst.l      [A2]
  5268. 000038E2  670A                     beq        +0xC /* 000038EE */
  5269. 000038E4  2F12                     move.l     -[A7], [A2]
  5270. 000038E6  4EAD DAA2                jsr        [A5 - 0x255E]
  5271. 000038EA  4292                     clr.l      [A2]
  5272. 000038EC  584F                     addq.w     A7, 4
  5273. label000038EE:
  5274. 000038EE  4AAA 0008                tst.l      [A2 + 0x8]
  5275. 000038F2  670E                     beq        +0x10 /* 00003902 */
  5276. 000038F4  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  5277. 000038F8  4EAD E9B0                jsr        [A5 - 0x1650]
  5278. 000038FC  42AA 0008                clr.l      [A2 + 0x8]
  5279. 00003900  584F                     addq.w     A7, 4
  5280. label00003902:
  5281. 00003902  245F                     movea.l    A2, [A7]+
  5282. 00003904  4E75                     rts
  5283. fn00003906:
  5284. 00003906  206F 0004                movea.l    A0, [A7 + 0x4]
  5285. 0000390A  4290                     clr.l      [A0]
  5286. 0000390C  42A8 0004                clr.l      [A0 + 0x4]
  5287. 00003910  42A8 0008                clr.l      [A0 + 0x8]
  5288. 00003914  42A8 000C                clr.l      [A0 + 0xC]
  5289. 00003918  42A8 0010                clr.l      [A0 + 0x10]
  5290. 0000391C  4268 0018                clr.w      [A0 + 0x18]
  5291. 00003920  4268 001A                clr.w      [A0 + 0x1A]
  5292. 00003924  4E75                     rts
  5293. fn00003926:
  5294. 00003926  48E7 0C30                movem.l    -[A7], D4,D5,A2,A3
  5295. 0000392A  246F 0014                movea.l    A2, [A7 + 0x14]
  5296. 0000392E  266F 0018                movea.l    A3, [A7 + 0x18]
  5297. 00003932  4AAA 0086                tst.l      [A2 + 0x86]
  5298. 00003936  675C                     beq        +0x5E /* 00003994 */
  5299. 00003938  42AA 0086                clr.l      [A2 + 0x86]
  5300. 0000393C  3013                     move.w     D0, [A3]
  5301. 0000393E  48C0                     ext.l      D0
  5302. 00003940  382A 0090                move.w     D4, [A2 + 0x90]
  5303. 00003944  48C4                     ext.l      D4
  5304. 00003946  9880                     sub.l      D4, D0
  5305. 00003948  3004                     move.w     D0, D4
  5306. 0000394A  48C0                     ext.l      D0
  5307. 0000394C  3A2A 008E                move.w     D5, [A2 + 0x8E]
  5308. 00003950  48C5                     ext.l      D5
  5309. 00003952  9A80                     sub.l      D5, D0
  5310. 00003954  3005                     move.w     D0, D5
  5311. 00003956  48C0                     ext.l      D0
  5312. 00003958  4A80                     tst.l      D0
  5313. 0000395A  6F38                     ble        +0x3A /* 00003994 */
  5314. 0000395C  3405                     move.w     D2, D5
  5315. 0000395E  0C6A 4000 0092           cmpi.w     [A2 + 0x92], 0x4000 /* '@\0' */
  5316. 00003964  6614                     bne        +0x16 /* 0000397A */
  5317. 00003966  3004                     move.w     D0, D4
  5318. 00003968  48C0                     ext.l      D0
  5319. 0000396A  2200                     move.l     D1, D0
  5320. 0000396C  E089                     lsr        D1, 8
  5321. 0000396E  E089                     lsr        D1, 8
  5322. 00003970  E089                     lsr        D1, 8
  5323. 00003972  EE89                     lsr        D1, 7
  5324. 00003974  D280                     add.l      D1, D0
  5325. 00003976  E281                     asr        D1, 1
  5326. 00003978  D441                     add.w      D2, D1
  5327. label0000397A:
  5328. 0000397A  3042                     movea.w    A0, D2
  5329. 0000397C  202A 008A                move.l     D0, [A2 + 0x8A]
  5330. 00003980  EB88                     lsl        D0, 5
  5331. 00003982  226D AD06                movea.l    A1, [A5 - 0x52FA]
  5332. 00003986  2211                     move.l     D1, [A1]
  5333. 00003988  2241                     movea.l    A1, D1
  5334. 0000398A  43F1 0812                lea.l      A1, [A1 + D0 + 0x12]
  5335. 0000398E  2008                     move.l     D0, A0
  5336. 00003990  D191                     add.l      [A1], D0
  5337. 00003992  9553                     sub.w      [A3], D2
  5338. label00003994:
  5339. 00003994  4CDF 0C30                movem.l    D4,D5,A2,A3, [A7]+
  5340. 00003998  4E75                     rts
  5341. 0000399A  0000 0000                ori.b      D0, 0x0
  5342. 0000399E  0000 0000                ori.b      D0, 0x0
  5343. 000039A2  0000 0000                ori.b      D0, 0x0
  5344.